-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (35 loc) · 1.14 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
from pathlib import Path
import setuptools
from setuptools import find_packages
def get_version() -> str:
root = Path(__file__).parent
return open(root / "version.txt", "r").read().strip()
def get_description():
return open("README.md", "r", encoding="utf-8").read()
setuptools.setup(
name="vqpy",
version=get_version(),
description="A language for video analytics",
long_description=get_description(),
long_description_content_type="text/markdown",
package_dir={"vqpy": "vqpy"},
packages=find_packages(),
python_requires=">=3.7",
install_requires=["cython",
"torch",
"torchvision",
"loguru",
"tqdm",
"shapely",
"scipy",
"scikit-learn==1.1.2",
"numpy<1.24.0",
"requests",
"opencv-python",
"yolox==0.3.0",
"cython_bbox",
"lap",
"openalpr==1.0",
"pandas",
],
)