forked from dhvanilshah-tenable/pyTenable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (50 loc) · 1.73 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, 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, # noqa
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',
'Programming Language :: Python :: 3.9',
],
keywords='tenable tenable_io securitycenter containersecurity',
packages=find_packages(exclude=['docs', 'tests']),
install_requires=[
'requests>=2.26',
'python-dateutil>=2.6',
'semver>=2.8.1',
'restfly>=1.4.4',
'marshmallow>=3.6',
'python-box>=4.0',
'defusedxml>=0.5.0',
'urllib3>=1.26.5',
'typing-extensions>=4.0.1',
'dataclasses>=0.8;python_version=="3.6"',
],
)