2012-02-23 21:07:03 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2012-03-10 14:02:25 -05:00
|
|
|
import os
|
|
|
|
import sys
|
2012-08-16 21:34:55 -04:00
|
|
|
from glob import glob
|
2012-03-10 14:02:25 -05:00
|
|
|
|
2013-12-16 15:57:03 -05:00
|
|
|
sys.path.insert(0, os.path.abspath('lib'))
|
2012-03-10 14:02:25 -05:00
|
|
|
from ansible import __version__, __author__
|
2014-04-02 13:36:41 -07:00
|
|
|
try:
|
2014-09-29 09:27:25 -04:00
|
|
|
from setuptools import setup, find_packages
|
2014-04-02 13:36:41 -07:00
|
|
|
except ImportError:
|
2015-01-26 07:08:36 -08:00
|
|
|
print("Ansible now needs setuptools in order to build. Install it using"
|
|
|
|
" your package manager (usually python-setuptools) or via pip (pip"
|
|
|
|
" install setuptools).")
|
2014-04-29 14:53:44 -05:00
|
|
|
sys.exit(1)
|
2012-02-23 21:07:03 -05:00
|
|
|
|
|
|
|
setup(name='ansible',
|
2012-03-10 14:02:25 -05:00
|
|
|
version=__version__,
|
2013-08-24 11:25:02 -04:00
|
|
|
description='Radically simple IT automation',
|
2012-03-10 14:02:25 -05:00
|
|
|
author=__author__,
|
2014-01-28 11:38:52 -05:00
|
|
|
author_email='michael@ansible.com',
|
|
|
|
url='http://ansible.com/',
|
2012-03-05 12:15:24 -05:00
|
|
|
license='GPLv3',
|
2014-03-14 11:37:24 -07:00
|
|
|
install_requires=['paramiko', 'jinja2', "PyYAML", 'setuptools', 'pycrypto >= 2.6'],
|
2015-03-12 02:28:33 +01:00
|
|
|
package_dir={ '': 'lib' },
|
2014-09-29 09:27:25 -04:00
|
|
|
packages=find_packages('lib'),
|
2014-08-07 11:17:13 -05:00
|
|
|
package_data={
|
2014-11-29 18:11:10 -05:00
|
|
|
'': ['module_utils/*.ps1', 'modules/core/windows/*.ps1', 'modules/extras/windows/*.ps1'],
|
2014-08-07 11:17:13 -05:00
|
|
|
},
|
2012-02-23 21:07:03 -05:00
|
|
|
scripts=[
|
|
|
|
'bin/ansible',
|
2012-08-09 10:39:34 -04:00
|
|
|
'bin/ansible-playbook',
|
2012-11-28 09:39:26 +01:00
|
|
|
'bin/ansible-pull',
|
2013-12-20 09:27:13 +01:00
|
|
|
'bin/ansible-doc',
|
2014-02-21 09:18:49 +01:00
|
|
|
'bin/ansible-galaxy',
|
|
|
|
'bin/ansible-vault',
|
2012-08-16 21:34:55 -04:00
|
|
|
],
|
2014-09-26 11:25:56 -04:00
|
|
|
data_files=[],
|
2012-02-23 21:07:03 -05:00
|
|
|
)
|