Spaces:
Build error
Build error
Upload pyproject.toml with huggingface_hub
Browse files- pyproject.toml +14 -2
pyproject.toml
CHANGED
|
@@ -1,7 +1,12 @@
|
|
| 1 |
[project]
|
| 2 |
name = "monopriors"
|
| 3 |
-
version = "0.1.
|
| 4 |
description = "Monocular Geometric Priors"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
dependencies = [
|
| 7 |
"huggingface-hub",
|
|
@@ -15,6 +20,7 @@ dependencies = [
|
|
| 15 |
"gradio-rerun>= 0.0.3",
|
| 16 |
"hf-transfer",
|
| 17 |
"mmcv-lite",
|
|
|
|
| 18 |
|
| 19 |
]
|
| 20 |
|
|
@@ -39,7 +45,13 @@ scripts = [".pixi.sh"]
|
|
| 39 |
|
| 40 |
[tool.pixi.tasks]
|
| 41 |
_install-wheel = "python -m pip install $WHL_PATH --force-reinstall"
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
upload-hf = { cmd = "python tools/upload_to_hf.py", depends_on = [
|
| 44 |
"_build-wheel",
|
| 45 |
] }
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "monopriors"
|
| 3 |
+
version = "0.1.1"
|
| 4 |
description = "Monocular Geometric Priors"
|
| 5 |
+
requires-python = ">=3.10.0"
|
| 6 |
+
classifiers = [
|
| 7 |
+
"Development Status :: 3 - Alpha",
|
| 8 |
+
"Programming Language :: Python",
|
| 9 |
+
]
|
| 10 |
|
| 11 |
dependencies = [
|
| 12 |
"huggingface-hub",
|
|
|
|
| 20 |
"gradio-rerun>= 0.0.3",
|
| 21 |
"hf-transfer",
|
| 22 |
"mmcv-lite",
|
| 23 |
+
"mini-dust3r",
|
| 24 |
|
| 25 |
]
|
| 26 |
|
|
|
|
| 45 |
|
| 46 |
[tool.pixi.tasks]
|
| 47 |
_install-wheel = "python -m pip install $WHL_PATH --force-reinstall"
|
| 48 |
+
_delete-wheel = "rm -rf dist"
|
| 49 |
+
_build-wheel = { cmd = "python -m pip install build && python -m build", depends_on = [
|
| 50 |
+
"_delete-wheel",
|
| 51 |
+
] }
|
| 52 |
+
_upload-wheel = { cmd = "python -m pip install twine && python -m twine upload -r testpypi dist/*", depends_on = [
|
| 53 |
+
"_build-wheel",
|
| 54 |
+
] }
|
| 55 |
upload-hf = { cmd = "python tools/upload_to_hf.py", depends_on = [
|
| 56 |
"_build-wheel",
|
| 57 |
] }
|