Spaces:
Runtime error
Runtime error
Update pyproject.toml
Browse files- pyproject.toml +6 -6
pyproject.toml
CHANGED
|
@@ -15,12 +15,12 @@ dependencies = [
|
|
| 15 |
]
|
| 16 |
|
| 17 |
[project.scripts]
|
| 18 |
-
# This
|
|
|
|
| 19 |
server = "app:main"
|
| 20 |
|
| 21 |
[tool.setuptools]
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
[
|
| 25 |
-
|
| 26 |
-
include = ["*"]
|
|
|
|
| 15 |
]
|
| 16 |
|
| 17 |
[project.scripts]
|
| 18 |
+
# This tells the hackathon runner to find 'main' inside 'app.py'
|
| 19 |
+
# located in your root directory.
|
| 20 |
server = "app:main"
|
| 21 |
|
| 22 |
[tool.setuptools]
|
| 23 |
+
# This tells setuptools NOT to look for a folder named 'server'
|
| 24 |
+
# and just treat the current directory as the source.
|
| 25 |
+
py-modules = ["app", "models", "ecommerce_bot_environment"]
|
| 26 |
+
include-package-data = true
|
|
|