|
|
|
@ -7,7 +7,7 @@ from glob import glob
|
|
|
|
|
sys.path.insert(0, os.path.abspath('lib'))
|
|
|
|
|
from ansible import __version__, __author__
|
|
|
|
|
try:
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
except ImportError:
|
|
|
|
|
print "Ansible now needs setuptools in order to build. " \
|
|
|
|
|
"Install it using your package manager (usually python-setuptools) or via pip (pip install setuptools)."
|
|
|
|
@ -22,23 +22,7 @@ setup(name='ansible',
|
|
|
|
|
license='GPLv3',
|
|
|
|
|
install_requires=['paramiko', 'jinja2', "PyYAML", 'setuptools', 'pycrypto >= 2.6'],
|
|
|
|
|
package_dir={ 'ansible': 'lib/ansible' },
|
|
|
|
|
packages=[
|
|
|
|
|
'ansible',
|
|
|
|
|
'ansible.cache',
|
|
|
|
|
'ansible.utils',
|
|
|
|
|
'ansible.utils.module_docs_fragments',
|
|
|
|
|
'ansible.inventory',
|
|
|
|
|
'ansible.inventory.vars_plugins',
|
|
|
|
|
'ansible.playbook',
|
|
|
|
|
'ansible.runner',
|
|
|
|
|
'ansible.runner.action_plugins',
|
|
|
|
|
'ansible.runner.lookup_plugins',
|
|
|
|
|
'ansible.runner.connection_plugins',
|
|
|
|
|
'ansible.runner.shell_plugins',
|
|
|
|
|
'ansible.runner.filter_plugins',
|
|
|
|
|
'ansible.callback_plugins',
|
|
|
|
|
'ansible.module_utils'
|
|
|
|
|
],
|
|
|
|
|
packages=find_packages('lib'),
|
|
|
|
|
package_data={
|
|
|
|
|
'': ['module_utils/*.ps1'],
|
|
|
|
|
},
|
|
|
|
|