Spaces:
Running
Running
Commit
·
74487c6
1
Parent(s):
ed32d34
chore: update pyproject.toml to define build system and package inclusion, modify requirements.txt for dashboard dependency
Browse files- pyproject.toml +8 -0
- requirements.txt +1 -1
pyproject.toml
CHANGED
|
@@ -28,6 +28,14 @@ dependencies = [
|
|
| 28 |
"gradio-leaderboard>=0.0.14",
|
| 29 |
]
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
[tool.hatch.build.targets.wheel]
|
| 32 |
packages = ["api", "benchmark", "dashboard"]
|
| 33 |
|
|
|
|
| 28 |
"gradio-leaderboard>=0.0.14",
|
| 29 |
]
|
| 30 |
|
| 31 |
+
[build-system]
|
| 32 |
+
requires = ["setuptools>=61.0", "wheel"]
|
| 33 |
+
build-backend = "setuptools.build_meta"
|
| 34 |
+
|
| 35 |
+
[tool.setuptools.packages.find]
|
| 36 |
+
include = ["api*", "benchmark*", "dashboard*"]
|
| 37 |
+
exclude = ["images*", "evaluation_results*", "*.tests*"]
|
| 38 |
+
|
| 39 |
[tool.hatch.build.targets.wheel]
|
| 40 |
packages = ["api", "benchmark", "dashboard"]
|
| 41 |
|
requirements.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
-e . # required for the dashboard to work
|