-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
72 lines (64 loc) · 1.8 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
"""
"""
import sys
import os
from pkg_resources import VersionConflict, require
try:
require("setuptools>=42")
except VersionConflict:
print("Error: version of setuptools is too old (<42)!")
sys.exit(1)
if __name__ == "__main__":
import skbuild
skbuild.setup(
name="python_vali",
version="4.2.10-0",
description="Video Processing Library with full NVENC/NVDEC hardware acceleration",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author="Roman Arzumanyan",
license="Apache 2.0",
install_requires=["numpy"],
extras_require={
"dev": [
"torch",
"torchvision",
"onnx",
"tensorrt",],
"samples": [
"torch",
"torchvision",
"onnx",
"tensorrt",
"pynvml"],
"tests": [
"torch",
"torchvision",
"parameterized",
"pydantic",
"pynvml",
"unittest",
"json",
"logging",
"random",
"typing",
"math",
"sys",
"os"],
"torch": [
"torch",
"torchvision"],
"tensorrt": [
"torch",
"torchvision"],
},
dependency_links=[
"https://pypi.ngc.nvidia.com"
],
packages=["python_vali"],
package_data={"python_vali": ["__init__.pyi"]},
package_dir={"": "src"},
cmake_install_dir="src",
# cmake_args=["-DTRACK_TOKEN_ALLOCATIONS=ON"],
# cmake_args=["-DCMAKE_BUILD_TYPE=Debug"]
)