-
Notifications
You must be signed in to change notification settings - Fork 44
/
pyproject.toml
87 lines (75 loc) · 3.03 KB
/
pyproject.toml
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
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "easyvolcap"
version = "0.0.0"
description = "EasyVolcap: Accelerating Neural Volumetric Video Research"
readme = "readme.md"
license = { file = "license" }
authors = [{ email = "[email protected]" }, { name = "Zhen Xu" }]
requires-python = ">=3.9"
dynamic = ["dependencies", "optional-dependencies"]
[project.urls]
homepage = "https://github.com/dendenxu/easyvolcap"
[tool.setuptools]
# Automatic finding of packages is too slow due to symlink to large datasets (tons of images)
# It's never just runtime speed, we'd like the overall user experiment to be smooth
# Including the process of creating commandline interfaces
packages = [
'easyvolcap',
'easyvolcap.engine',
'easyvolcap.engine.handlers',
'easyvolcap.dataloaders',
'easyvolcap.dataloaders.datasets',
'easyvolcap.models',
'easyvolcap.models.networks',
'easyvolcap.models.networks.regressors',
'easyvolcap.models.networks.embedders',
'easyvolcap.models.samplers',
'easyvolcap.models.renderers',
'easyvolcap.models.supervisors',
'easyvolcap.runners',
'easyvolcap.runners.evaluators',
'easyvolcap.runners.visualizers',
'easyvolcap.utils',
'easyvolcap.utils.shaders',
'easyvolcap.scripts',
]
# [tool.setuptools.packages.find]
# include = ["easyvolcap*", "scripts*", "main.py"]
# exclude = ["data"]
# where = ["easyvolcap", "scripts", "main.py"]
[tool.setuptools.package-data]
"*" = [
"*.yaml",
"*.json",
"*.py",
"*.yml",
"*.frag",
"*.vert",
"*.glsl",
] # yes, .py not needed here, but just for clarification that you can use py for config
[project.scripts]
evc = "easyvolcap.scripts.wrap:main_entrypoint"
evc-test = "easyvolcap.scripts.wrap:test_entrypoint"
evc-train = "easyvolcap.scripts.wrap:train_entrypoint"
evc-ws = "easyvolcap.scripts.wrap:ws_entrypoint"
evc-gui = "easyvolcap.scripts.wrap:gui_entrypoint"
evc-dist = "easyvolcap.scripts.wrap:dist_entrypoint"
evc-prof = "easyvolcap.scripts.wrap:prof_entrypoint"
# volcap = "easyvolcap.scripts.wrap:main_entrypoint"
# volcap-test = "easyvolcap.scripts.wrap:test_entrypoint"
# volcap-train = "easyvolcap.scripts.wrap:train_entrypoint"
# volcap-gui = "easyvolcap.scripts.wrap:gui_entrypoint"
# volcap-dist = "easyvolcap.scripts.wrap:dist_entrypoint"
# volcap-prof = "easyvolcap.scripts.wrap:prof_entrypoint"
# This should only serve as a commanline registration
# Dependencies are expected to be installed separatedly
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
# NOTE: Somehow, installing with pip install -e ".[dev]" will cause pip to try to install other packages with the dev feature as well..
# Like running: pip install mediapipe[dev], however such feature doesn't exist in mediapipe, thus the installation fails
# So we opted to change the name for a full development install from "dev" to "devel"
# optional-dependencies = { dev = { file = ["requirements-devel.txt"] } }
optional-dependencies = { devel = { file = ["requirements-devel.txt"] } }