2012-02-24 03:07:03 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2012-03-10 20:02:25 +01:00
|
|
|
import os
|
|
|
|
import sys
|
2012-08-17 03:34:55 +02:00
|
|
|
from glob import glob
|
2012-03-10 20:02:25 +01:00
|
|
|
|
2013-12-16 21:57:03 +01:00
|
|
|
sys.path.insert(0, os.path.abspath('lib'))
|
2012-03-10 20:02:25 +01:00
|
|
|
from ansible 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__,
|
2014-01-28 17:38:52 +01:00
|
|
|
author_email='michael@ansible.com',
|
|
|
|
url='http://ansible.com/',
|
2012-03-05 18:15:24 +01:00
|
|
|
license='GPLv3',
|
2015-05-08 18:34:19 +02:00
|
|
|
install_requires=['paramiko', 'jinja2', "PyYAML", 'setuptools', 'pycrypto >= 2.6', 'six'],
|
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-07-09 05:55:52 +02:00
|
|
|
'': ['module_utils/*.ps1', 'modules/core/windows/*.ps1', 'modules/extras/windows/*.ps1'],
|
2014-08-07 18:17:13 +02:00
|
|
|
},
|
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',
|
|
|
|
'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
|
|
|
)
|