2012-02-23 21:07:03 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2012-03-10 14:02:25 -05:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
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__,
|
2015-07-13 15:45:20 -04:00
|
|
|
author_email='support@ansible.com',
|
2014-01-28 11:38:52 -05:00
|
|
|
url='http://ansible.com/',
|
2012-03-05 12:15:24 -05:00
|
|
|
license='GPLv3',
|
2015-10-15 17:55:23 -07:00
|
|
|
# Ansible will also make use of a system copy of python-six if installed but use a
|
|
|
|
# Bundled copy if it's not.
|
|
|
|
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={
|
2015-09-01 10:40:27 -04:00
|
|
|
'': ['module_utils/*.ps1', 'modules/core/windows/*.ps1', 'modules/extras/windows/*.ps1', 'galaxy/data/*'],
|
2014-08-07 11:17:13 -05:00
|
|
|
},
|
2014-09-11 22:47:30 +00:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Environment :: Console',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Intended Audience :: Information Technology',
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'Operating System :: POSIX',
|
|
|
|
'Programming Language :: Python :: 2.6',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Topic :: System :: Installation/Setup',
|
|
|
|
'Topic :: System :: Systems Administration',
|
|
|
|
'Topic :: Utilities',
|
|
|
|
],
|
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
|
|
|
)
|