-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
77 lines (75 loc) · 2.55 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
69
70
71
72
73
74
75
76
77
from setuptools import setup, find_packages
from startleft.startleft._version.local_scheme import guess_startleft_semver_suffix
from startleft.startleft._version.version_scheme import guess_startleft_semver
setup(
name='startleft',
description='Parse Infrastructure as Code files to the Open Threat Model format and upload them to IriusRisk',
license='Apache2',
author='Fraser Scott',
author_email='fscott@iriusrisk.com',
url='https://github.com/iriusrisk/startleft',
keywords=['threat modeling', 'cyber security', 'appsec'],
packages=find_packages(),
include_package_data=True,
python_requires='>= 3.9, <= 3.12',
install_requires=[
'pyyaml==6.0.1',
'jsonschema==4.19.0',
'deepmerge==1.1.0',
'jmespath==1.0.1',
'python-hcl2==4.3.2',
'requests==2.32.3',
'fastapi>=0.115.2,<0.116.0',
'python-multipart==0.0.7',
'click==8.1.7',
'uvicorn==0.23.2',
'shapely==2.0.1',
'vsdx==0.5.13',
'python-magic==0.4.27',
'setuptools==70.3.0',
'setuptools-scm==8.1.0',
'defusedxml==0.7.1',
'networkx==3.1',
'dependency-injector==4.41.0',
'google-re2==1.0',
'xmlschema==2.5.0',
'word2number==1.1',
# Do not upgrade pygraphviz unless security issues because it is heavily dependent on the underlying OS
'pygraphviz==1.10',
# Numpy is a transitive dependency of fastapi, requests and python-multipart
# They require different v1 versions, while v2 versions lead to import errors
'numpy<2.0'
],
use_scm_version={
'write_to': 'startleft/version.py',
'version_scheme': guess_startleft_semver,
'local_scheme': guess_startleft_semver_suffix,
'git_describe_command': 'git describe --tags --long --match *[0-9]*'
},
extras_require={
"setup": [
"pytest-runner==6.0.0",
],
"test": [
'tox==4.11.1',
'pytest==7.4.1',
'responses==0.23.3',
'deepdiff==6.4.1',
'httpx==0.24.1',
'pytest-mock==3.11.1',
'coverage==7.3.1'
]
},
entry_points='''
[console_scripts]
startleft=startleft.startleft.cli.cli:cli
''',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Security',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'
]
)