-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (33 loc) · 1003 Bytes
/
Copy pathsetup.py
File metadata and controls
37 lines (33 loc) · 1003 Bytes
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
import setuptools
import os
import subprocess
if __name__ == '__main__':
try:
setuptools.setup(
name='robohang',
version='0.0',
packages=setuptools.find_packages('src'),
package_dir={'':'src'},
python_requires='>=3.8',
install_requires=[
"torch",
"torchvision",
"numpy",
"taichi==1.6.0",
"open3d",
"tqdm",
"sapien",
"lightning",
"tensorboard",
"torch_tb_profiler",
"imageio",
"pdf2image",
"pynput",
]
)
subprocess.run("pip install hydra-core --upgrade", shell=True)
os.chdir("./external/batch_urdf")
subprocess.run("pip install -e .", shell=True)
os.chdir(os.path.dirname(__file__))
except:
raise RuntimeError("An error occured during setup.")