-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
68 lines (62 loc) · 1.92 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
68
# All of these attributes are defined in _about.py, but it must be imported this way.
__project_name__ = None
__version__ = None
__author__ = None
__author_email__ = None
__project_url__ = None
exec(open('pytpp/_about.py', 'r').read())
from setuptools import setup, find_packages
import os
PROD_REQUIREMENTS = [
'isodate>=0.6.0',
'packaging>=21.3',
'python-dateutil>=2.8.2',
'requests>=2.24.0',
'simplejson>=3.17.6',
'jsonpickle>=2.1.0',
'pydantic>=1.9.1'
]
DEV_REQUIREMENTS = [
'pyodbc==4.0.30',
'lxml==4.4.1',
'pandas==1.3.3',
'paramiko==2.10.4'
]
DOC_REQUIREMENTS = [
'Sphinx>=4.3.2',
'sphinxcontrib-napoleon~=0.7',
'sphinx-rtd-theme~=1.0.0',
'sphinx-rtd-dark-mode~=1.2.4',
]
if __name__ == '__main__':
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
long_description = f.read()
setup(
name=__project_name__,
url=__project_url__,
version=__version__,
author=__author__,
author_email=__author_email__,
packages=find_packages(include=('pytpp*',)),
package_dir={
'': '.'
},
description='Venafi TPP Features and WebSDK API In Python',
long_description=long_description,
long_description_content_type='text/markdown',
keywords=['pytpp', 'venafi', 'tpp', 'trust protection platform'],
install_requires=PROD_REQUIREMENTS,
extras_require={
'dev': DEV_REQUIREMENTS,
'doc': DOC_REQUIREMENTS,
'all': DOC_REQUIREMENTS + DEV_REQUIREMENTS
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)