-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
75 lines (72 loc) · 1.95 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
73
74
75
import setuptools
import glob
import os
with open("PYPIREADME.md", "r") as fh:
long_description = fh.read()
config_files = [
os.path.relpath(path, "sdfest")
for path in glob.glob("sdfest/**/configs/**/*.yaml", recursive=True)
]
setuptools.setup(
name="sdfest",
version="0.1.1",
author="Leonard Bruns",
author_email="[email protected]",
description="6-DoF pose, scale, and shape estimation architecture",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/roym899/sdfest",
packages=setuptools.find_packages(),
package_data={
"sdfest": [
"differentiable_renderer/csrc/sdf_renderer.cpp",
"differentiable_renderer/csrc/sdf_renderer_cuda.cu",
]
+ config_files
},
install_requires=[
"cpas_toolbox",
"ffmpeg-python",
"healpy",
"joblib",
"matplotlib",
# "mesh-to-sdf, removed due to https://github.com/marian42/mesh_to_sdf/issues/38
"ninja",
"numpy",
"open3d",
"pandas",
"pynput",
"pyrender",
"PySide2",
"tensorboard",
"trimesh",
"scipy",
"scikit-image",
"tabulate",
"tqdm",
"torch",
"torchinfo",
"torchvision",
"wandb",
"yoco",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
],
python_requires=">=3.7",
)
# include_package_data=True,
# ext_modules=[
# CUDAExtension(
# "sdf_renderer_cuda",
# [
# "sdfest/differentiable_renderer/csrc/sdf_renderer.cpp",
# "sdfest/differentiable_renderer/csrc/sdf_renderer_cuda.cu",
# ],
# )
# ],
# cmdclass={"build_ext": BuildExtension},