darshanajudiya7 commited on
Commit
01960bc
·
1 Parent(s): 03b82c2

Fix setuptools package discovery

Browse files
Files changed (1) hide show
  1. pyproject.toml +5 -19
pyproject.toml CHANGED
@@ -8,6 +8,7 @@ version = "1.0.0"
8
  description = "TorchReview Copilot: AI-powered Python code triage with PyTorch and OpenEnv validation."
9
  readme = "README.md"
10
  requires-python = ">=3.10"
 
11
  dependencies = [
12
  "fastapi>=0.111.0",
13
  "gradio>=5.26.0",
@@ -30,22 +31,7 @@ server = "python_env.server.app:main"
30
 
31
  [tool.setuptools]
32
  include-package-data = true
33
- packages = [
34
- "python_env",
35
- "python_env.server",
36
- "python_env.tasks",
37
- "python_env.graders",
38
- "python_env.api",
39
- "python_env.app",
40
- "python_env.app.agents",
41
- "python_env.app.env",
42
- "python_env.app.models",
43
- "python_env.app.services",
44
- "python_env.app.utils",
45
- "python_env.analyzers",
46
- "python_env.models",
47
- "python_env.schemas",
48
- "python_env.services",
49
- "python_env.utils",
50
- ]
51
- package-dir = { "python_env" = ".", "python_env.server" = "server", "python_env.tasks" = "tasks", "python_env.graders" = "graders", "python_env.api" = "api", "python_env.app" = "app", "python_env.app.agents" = "app/agents", "python_env.app.env" = "app/env", "python_env.app.models" = "app/models", "python_env.app.services" = "app/services", "python_env.app.utils" = "app/utils", "python_env.analyzers" = "analyzers", "python_env.models" = "models", "python_env.schemas" = "schemas", "python_env.services" = "services", "python_env.utils" = "utils" }
 
8
  description = "TorchReview Copilot: AI-powered Python code triage with PyTorch and OpenEnv validation."
9
  readme = "README.md"
10
  requires-python = ">=3.10"
11
+
12
  dependencies = [
13
  "fastapi>=0.111.0",
14
  "gradio>=5.26.0",
 
31
 
32
  [tool.setuptools]
33
  include-package-data = true
34
+
35
+ [tool.setuptools.packages.find]
36
+ where = ["."]
37
+ include = ["*"]