2012-02-24 03:07:03 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
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',
|
2015-10-16 02:55:23 +02:00
|
|
|
# Ansible will also make use of a system copy of python-six if installed but use a
|
|
|
|
# Bundled copy if it's not.
|
2017-01-16 20:25:16 +01: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={
|
2015-09-01 16:40:27 +02:00
|
|
|
'': ['module_utils/*.ps1', 'modules/core/windows/*.ps1', 'modules/extras/windows/*.ps1', 'galaxy/data/*'],
|
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=[
|
|
|
|
'bin/ansible',
|
2012-08-09 16:39:34 +02: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',
|
2016-03-09 19:57:19 +01:00
|
|
|
'bin/ansible-console',
|
2014-02-21 09:18:49 +01:00
|
|
|
'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
|
|
|
)
|