forked from fschulze/ploy_ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (43 loc) · 1.48 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from setuptools import setup
import os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
HISTORY = open(os.path.join(here, 'HISTORY.rst')).read()
version = "1.2.5.dev0"
install_requires = [
'setuptools',
'ploy >= 1.0.0, < 2dev',
'execnet']
# workaround for installing via buildout, as ansible<1.8.0
# violates its sandbox limitations
try:
import ansible # noqa
except ImportError:
install_requires.append('ansible>=1.8.0')
setup(
version=version,
description="Plugin to integrate Ansible with ploy.",
long_description=README + "\n\n" + HISTORY,
name="ploy_ansible",
author='Florian Schulze',
author_email='[email protected]',
license="GPLv3", # infected by code for ansible and playbook commands
url='http://github.com/ployground/ploy_ansible',
classifiers=[
'Environment :: Console',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Systems Administration'],
include_package_data=True,
zip_safe=False,
packages=['ploy_ansible'],
install_requires=install_requires,
entry_points="""
[ansible_paths]
ploy_ansible = ploy_ansible:ansible_paths
[ploy.plugins]
ansible = ploy_ansible:plugin
""")