-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (48 loc) · 1.88 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
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# read in the contents of the README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Publish helper
if sys.argv[-1] == 'build':
os.system('python setup.py sdist bdist_wheel')
sys.exit(0)
if sys.argv[-1] == 'install':
os.system('python setup.py sdist --formats=zip')
sys.exit(0)
version = '2.0.0'
setup(
name='ThreadFixProAPI',
packages=['ThreadFixProAPI', 'ThreadFixProAPI.Applications', 'ThreadFixProAPI.Applications._utils', 'ThreadFixProAPI.Networks', 'ThreadFixProAPI.Networks._utils'],
version=version,
description='Python library enumerating the ThreadFix Professional RESTFul API.',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Dan Cornell',
author_email='[email protected]',
url='https://github.com/denimgroup/threadfix-python-api',
download_url='https://github.com/denimgroup/threadfix-python-api/tarball/' + version,
license='MIT',
zip_safe=True,
install_requires=['requests', 'urllib3'],
keywords=['threadfix', 'api', 'security', 'software', 'denim group', 'sast', 'dast'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)