add proper pyproject.toml

This commit is contained in:
pablovela5620
2025-03-23 14:12:42 -05:00
parent a16b0760f6
commit ce841d7dc0
5 changed files with 55 additions and 18 deletions
+2
View File
@@ -0,0 +1,2 @@
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
+4
View File
@@ -144,3 +144,7 @@ dmypy.json
**/tmp/
**/outputs/skyseg.onnx
skyseg.onnx
# pixi environments
.pixi
*.egg-info
+49
View File
@@ -0,0 +1,49 @@
[project]
authors = [{ name = "Jianyuan Wang", email = "jianyuan@robots.ox.ac.uk" }]
dependencies = [
"torch==2.3.1",
"torchvision==0.18.1",
"numpy==1.26.1",
"Pillow",
"huggingface_hub",
"einops",
"safetensors",
]
name = "vggt"
requires-python = ">= 3.11"
version = "0.1.0"
[project.optional-dependencies]
demo = [
"gradio==5.17.1",
"viser==0.2.23",
"tqdm",
"hydra-core",
"omegaconf",
"opencv-python",
"scipy",
"onnxruntime",
"requests",
"trimesh",
"matplotlib",
]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.hatch.build.targets.wheel]
packages = ["vggt"]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.pypi-dependencies]
vggt = { path = ".", editable = true }
[tool.pixi.environments]
default = { solve-group = "default" }
demo = { features = ["demo"], solve-group = "default" }
[tool.pixi.tasks]
-7
View File
@@ -1,7 +0,0 @@
torch==2.3.1
torchvision==0.18.1
numpy==1.26.1
Pillow
huggingface_hub
einops
safetensors
-11
View File
@@ -1,11 +0,0 @@
gradio==5.17.1
viser==0.2.23
tqdm
hydra-core
omegaconf
opencv-python
scipy
onnxruntime
requests
trimesh
matplotlib