2017-10-25 10:33:37 +00:00
|
|
|
from setuptools import setup, find_packages
|
2017-11-16 14:49:00 +00:00
|
|
|
from ansibleplaybookgrapher import __version__, __prog__
|
2017-10-25 10:33:37 +00:00
|
|
|
|
|
|
|
try:
|
2017-11-08 14:32:06 +00:00
|
|
|
long_description = open('Readme.md').read()
|
2017-10-25 10:33:37 +00:00
|
|
|
except:
|
|
|
|
long_description = None
|
|
|
|
|
2017-11-16 14:49:00 +00:00
|
|
|
setup(name=__prog__,
|
2017-10-25 10:33:37 +00:00
|
|
|
version=__version__,
|
|
|
|
description="A command line tool to create a graph representing your Ansible playbook tasks and roles",
|
2017-11-09 13:49:28 +00:00
|
|
|
long_description=long_description,
|
2017-10-26 09:03:21 +00:00
|
|
|
url="https://github.com/haidaraM/ansible-playbook-grapher",
|
2017-10-25 10:33:37 +00:00
|
|
|
author="HAIDARA Mohamed El Mouctar",
|
|
|
|
author_email="elmhaidara@gmail.com",
|
|
|
|
license="MIT",
|
2017-11-21 11:17:33 +00:00
|
|
|
install_requires=['graphviz==0.8.1', 'colour==0.1.5', 'lxml==4.1.1', 'ansible>=2.4'],
|
|
|
|
tests_requires=['pytest'],
|
2017-10-25 10:33:37 +00:00
|
|
|
packages=find_packages(exclude=['tests']),
|
2017-11-08 16:49:18 +00:00
|
|
|
package_data={"ansible-playbook-grapher": ['data/*']},
|
|
|
|
include_package_data=True,
|
2017-10-25 14:57:12 +00:00
|
|
|
download_url="https://github.com/haidaraM/ansible-playbook-grapher/archive/v" + __version__ + ".tar.gz",
|
2017-10-25 10:33:37 +00:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
2017-11-08 14:32:06 +00:00
|
|
|
'Environment :: Console',
|
|
|
|
'Topic :: Utilities',
|
2017-10-25 10:33:37 +00:00
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
],
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2017-11-16 15:21:19 +00:00
|
|
|
'%s = ansibleplaybookgrapher.cli:main' % __prog__
|
2017-10-25 10:33:37 +00:00
|
|
|
]
|
|
|
|
})
|