-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
67 lines (62 loc) · 2.13 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansibledocgen import __version__, __author__
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
try:
from setuptools import setup, find_packages
except ImportError:
print("ansible-docgen needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install setuptools).")
sys.exit(1)
setup(
name='ansible-docgen',
version=__version__,
description='Generate Documentation from Annotated Ansible Playbooks and Roles',
long_description=long_description,
long_description_content_type='text/markdown',
author=__author__,
author_email='[email protected]',
url='https://github.com/starboarder2001/ansible-docgen',
license='MIT',
install_requires=[
'PyYAML',
'setuptools',
'jinja2'],
include_package_data=True,
package_dir={
'': 'lib'},
package_data = { '': ['*.j2']},
packages=find_packages('lib'),
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
python_requires='>=3.7',
entry_points={
'console_scripts': [
'ansible-docgen = ansibledocgen.cli:main'
]
},
data_files=[],
)