-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
67 lines (61 loc) · 1.72 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
# Copyright (C) 2023 ETH Zurich, Manuel Kaufmann, Velko Vechev, Dario Mylonopoulos
import os
from setuptools import find_packages, setup
from aitviewer import __version__
INSTALL_PYQT6 = os.getenv("AITVIEWER_INSTALL_PYQT6", 0)
requirements = [
"torch>=1.6.0",
"numpy>=1.18,<2",
"opencv-contrib-python-headless>=4.5.1.48",
"smplx",
"moderngl-window>=2.4.3",
"moderngl>=5.8.2,<6",
"imgui==2.0.0",
"tqdm>=4.60.0",
"trimesh>=3.9.15,<4",
"scipy>=1.5.2",
"omegaconf>=2.1.1",
"roma>=1.2.3",
"joblib",
"scikit-image>=0.9.0",
"scikit-video",
"Pillow",
"websockets",
"usd-core>=23.5",
]
# Choose PyQt version depending on environment variable.
if INSTALL_PYQT6:
requirements.append("PyQt6>=6.5.2")
else:
requirements.append("PyQt5>=5.15.4")
setup(
name="aitviewer",
description="Viewing and rendering of sequences of 3D data.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/eth-ait/aitviewer",
version=__version__,
author="Manuel Kaufmann, Velko Vechev, Dario Mylonopoulos",
packages=find_packages(),
include_package_data=True,
keywords=[
"viewer",
"moderngl",
"machine learning",
"sequences",
"smpl",
"computer graphics",
"computer vision",
"3D",
"meshes",
"visualization",
],
platforms=["any"],
python_requires=">=3.7,<3.11",
install_requires=requirements,
project_urls={
"Documentation": "https://eth-ait.github.io/aitviewer/",
"Source": "https://github.com/eth-ait/aitviewer",
"Bug Tracker": "https://github.com/eth-ait/aitviewer/issues",
},
)