-
Notifications
You must be signed in to change notification settings - Fork 835
/
setup.py
61 lines (58 loc) · 2.16 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
import os
from itertools import chain
from setuptools import find_packages, setup
# Extra dependencies, with special 'all' key
extras = {"tensorflow": ["tensorflow"]}
all_extra_deps = chain.from_iterable(extras.values())
extras["all"] = list(set(all_extra_deps))
setup(
name="seldon-core",
author="Seldon Technologies Ltd.",
author_email="[email protected]",
version="1.19.0-dev",
description="Seldon Core client and microservice wrapper",
url="https://github.com/SeldonIO/seldon-core",
license="Business Source License 1.1",
license_files=["LICENSE"],
packages=find_packages(),
include_package_data=True,
python_requires=">=3.6",
install_requires=[
"Flask >= 2.0.0, <3.0.0",
"jsonschema<4.0.0",
"Flask-cors<4.0.0",
"requests<3.0.0",
"numpy<2.0.0",
"protobuf>=3.20.2,<4.0.0",
"grpcio<2.0.0",
"Flask-OpenTracing >= 1.1.0, < 1.2.0",
"opentracing >= 2.2.0, < 2.5.0",
"jaeger-client >= 4.1.0, < 4.5.0",
"grpcio-opentracing >= 1.1.4, < 1.2.0",
"grpcio-reflection < 2.0.0",
"gunicorn >= 19.9.0, < 20.2.0",
"setuptools >= 65.5.1",
"prometheus_client >= 0.7.1, < 0.9.0",
"werkzeug >= 2.1.1, < 2.3",
# Addresses CVE SNYK-PYTHON-CRYPTOGRAPHY-3315328
"cryptography >= 39.0.1, < 41.1",
# Addresses CVE SNYK-PYTHON-PYYAML-590151
"PyYAML >= 5.4, <= 6.0.1",
# Addresses CVE PRISMA-2021-0020
"click >= 8.0.0a1, < 8.1",
# Addresses CVE CVE-2019-11236 and CVE-2020-26137 and SNYK-PYTHON-URLLIB3-1533435
"urllib3 >= 1.26.5, < 1.27",
"importlib-metadata<5; python_version < '3.8'",
],
extras_require=extras,
entry_points={
"console_scripts": [
"seldon-core-microservice = seldon_core.microservice:main",
"seldon-core-tester = seldon_core.microservice_tester:main",
"seldon-core-microservice-tester = seldon_core.microservice_tester:main",
"seldon-core-api-tester = seldon_core.api_tester:main",
"seldon-batch-processor = seldon_core.batch_processor:run_cli",
]
},
zip_safe=False,
)