mirror of
https://github.com/facebookresearch/sam-3d-objects.git
synced 2026-03-13 08:14:51 +08:00
31 lines
843 B
TOML
31 lines
843 B
TOML
[build-system]
|
|
requires = ["hatchling", "hatch-requirements-txt"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.envs.default.env-vars]
|
|
PIP_EXTRA_INDEX_URL = "https://pypi.ngc.nvidia.com https://download.pytorch.org/whl/cu121"
|
|
|
|
[tool.hatch.metadata]
|
|
# for git-referenced dependencies
|
|
allow-direct-references = true
|
|
|
|
[project]
|
|
name = "sam3d_objects"
|
|
version = "0.0.1"
|
|
# required for "hatch-requirements-txt" to work
|
|
dynamic = ["dependencies", "optional-dependencies"]
|
|
|
|
[tool.hatch.build]
|
|
ignore-vcs = true
|
|
include = ["**/*.py"]
|
|
exclude = ["conftest.py", "*_test.py"]
|
|
packages = ["sam3d_objects"]
|
|
|
|
[tool.hatch.metadata.hooks.requirements_txt]
|
|
files = ["requirements.txt"]
|
|
|
|
[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies]
|
|
p3d = ["requirements.p3d.txt"]
|
|
inference = ["requirements.inference.txt"]
|
|
dev = ["requirements.dev.txt"]
|