davidberenstein1957 commited on
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
Files changed (2) hide show
  1. pyproject.toml +8 -0
  2. 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
- gradio-leaderboard
 
1
+ -e . # required for the dashboard to work