2012-03-10 20:02:25 +01:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2013-12-16 21:57:03 +01:00
|
|
|
sys.path.insert(0, os.path.abspath('lib'))
|
2016-04-29 02:36:09 +02:00
|
|
|
from ansible.release import __version__, __author__
|
2014-04-02 22:36:41 +02:00
|
|
|
try:
|
2014-09-29 15:27:25 +02:00
|
|
|
from setuptools import setup, find_packages
|
2014-04-02 22:36:41 +02:00
|
|
|
except ImportError:
|
2015-01-26 16:08:36 +01: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 21:53:44 +02:00
|
|
|
sys.exit(1)
|
2012-02-24 03:07:03 +01:00
|
|
|
|
|
|
|
setup(name='ansible',
|
2012-03-10 20:02:25 +01:00
|
|
|
version=__version__,
|
2013-08-24 17:25:02 +02:00
|
|
|
description='Radically simple IT automation',
|
2012-03-10 20:02:25 +01:00
|
|
|
author=__author__,
|
2016-10-13 22:28:21 +02:00
|
|
|
author_email='info@ansible.com',
|
2014-01-28 17:38:52 +01:00
|
|
|
url='http://ansible.com/',
|
2012-03-05 18:15:24 +01:00
|
|
|
license='GPLv3',
|
2017-02-01 17:48:23 +01:00
|
|
|
# Ansible will also make use of a system copy of python-six and
|
|
|
|
# python-selectors2 if installed but use a Bundled copy if it's not.
|
2015-10-16 02:55:23 +02:00
|
|
|
install_requires=['paramiko', 'jinja2', "PyYAML", 'setuptools', 'pycrypto >= 2.6'],
|
2015-03-12 02:28:33 +01:00
|
|
|
package_dir={ '': 'lib' },
|
2014-09-29 15:27:25 +02:00
|
|
|
packages=find_packages('lib'),
|
2014-08-07 18:17:13 +02:00
|
|
|
package_data={
|
2017-01-29 08:28:53 +01:00
|
|
|
'': ['module_utils/*.ps1', 'modules/windows/*.ps1', 'modules/windows/*.ps1', 'galaxy/data/*/*.*', 'galaxy/data/*/*/*.*', 'galaxy/data/*/tests/inventory'],
|
2014-08-07 18:17:13 +02:00
|
|
|
},
|
2014-09-12 00:47:30 +02: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-24 03:07:03 +01:00
|
|
|
scripts=[
|
2017-01-29 08:28:53 +01:00
|
|
|
'bin/ansible',
|
|
|
|
'bin/ansible-playbook',
|
|
|
|
'bin/ansible-pull',
|
|
|
|
'bin/ansible-doc',
|
|
|
|
'bin/ansible-galaxy',
|
|
|
|
'bin/ansible-console',
|
|
|
|
'bin/ansible-connection',
|
|
|
|
'bin/ansible-vault',
|
2012-08-17 03:34:55 +02:00
|
|
|
],
|
2014-09-26 17:25:56 +02:00
|
|
|
data_files=[],
|
2012-02-24 03:07:03 +01:00
|
|
|
)
|