forked from tenable/pyTenable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (53 loc) · 1.78 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
from setuptools import setup, find_packages
import os
with open('tenable/version.py', 'r') as vfile:
exec(vfile.read())
try:
long_description = open(
os.path.join(
os.path.abspath(os.path.dirname(__file__)),
'README.rst')).read()
except:
long_description = 'Please refer to https://pytenable.readthedocs.io'
print('! could not read README.rst file.')
setup(
name='pyTenable',
version=version,
description='Python library to interface into Tenable\'s products and applications',
author='Tenable, Inc.',
long_description=long_description,
author_email='[email protected]',
url='https://github.com/tenable/pytenable',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='tenable tenable_io securitycenter containersecurity',
packages=find_packages(exclude=['docs', 'tests']),
install_requires=[
'requests>=2.19',
'python-dateutil>=2.6',
'semver>=2.8.1',
'restfly>=1.3.5',
'marshmallow>=3.6',
'python-box>=4.0',
],
extras_require={
'NessusReportv2': ['defusedxml>=0.5.0'],
'PWCertAuth': ['requests-pkcs12>=1.3'],
'docker': ['docker>=3.7.2'],
'complete': [
'defusedxml>=0.5.0',
'requests-pkcs12>=1.3',
'docker>=3.7.2',
]
}
)