-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (36 loc) · 1.09 KB
/
setup.py
File metadata and controls
42 lines (36 loc) · 1.09 KB
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
#!/usr/bin/env python3
import os
from pathlib import Path
from setuptools import setup, find_namespace_packages
# Get package version/metadata
about = {}
exec(Path("vcap/version.py").read_text(), about)
test_packages = ["pytest", "mock"]
PRE_RELEASE_SUFFIX = os.environ.get("PRE_RELEASE_SUFFIX", "")
setup(
name='vcap',
description="A library for creating OpenVisionCapsules in Python",
author="Aotu.ai",
packages=find_namespace_packages(include=["vcap*"]),
version=about["__version__"] + PRE_RELEASE_SUFFIX,
install_requires=[
"pycryptodomex==3.9.7",
"scipy==1.4.1",
"scikit-learn==0.22.2",
"numpy>=1.16,<2",
"tensorflow-gpu==1.15.4",
"pycuda>=2019.1.1",
"tensorrt==7.2.3.4",
],
extras_require={
"tests": test_packages,
"easy": ["opencv-python-headless~=4.1.2"],
},
tests_require=test_packages,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)