Spaces:
Runtime error
Runtime error
Update ecommerce_bot/pyproject.toml
Browse files- ecommerce_bot/pyproject.toml +8 -19
ecommerce_bot/pyproject.toml
CHANGED
|
@@ -1,8 +1,5 @@
|
|
| 1 |
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 2 |
# All rights reserved.
|
| 3 |
-
#
|
| 4 |
-
# This source code is licensed under the BSD-style license found in the
|
| 5 |
-
# LICENSE file in the root directory of this source tree.
|
| 6 |
|
| 7 |
[build-system]
|
| 8 |
requires = ["setuptools>=45", "wheel"]
|
|
@@ -14,18 +11,10 @@ version = "0.1.0"
|
|
| 14 |
description = "Ecommerce Bot environment for OpenEnv"
|
| 15 |
requires-python = ">=3.10"
|
| 16 |
dependencies = [
|
| 17 |
-
# Core OpenEnv runtime (provides FastAPI server + HTTP client types)
|
| 18 |
-
# install from github
|
| 19 |
-
# "openenv-core[core] @ git+https://github.com/meta-pytorch/OpenEnv.git",
|
| 20 |
"openenv-core[core]>=0.2.2",
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
# "numpy>=1.19.0",
|
| 25 |
-
# "torch>=2.0.0",
|
| 26 |
-
# "gymnasium>=0.29.0",
|
| 27 |
-
# "openspiel>=1.0.0",
|
| 28 |
-
# "smolagents>=1.22.0,<2",
|
| 29 |
]
|
| 30 |
|
| 31 |
[project.optional-dependencies]
|
|
@@ -35,11 +24,11 @@ dev = [
|
|
| 35 |
]
|
| 36 |
|
| 37 |
[project.scripts]
|
| 38 |
-
#
|
| 39 |
-
|
| 40 |
-
server = "ecommerce_bot.server.app:main"
|
| 41 |
|
| 42 |
[tool.setuptools]
|
| 43 |
include-package-data = true
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
| 1 |
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 2 |
# All rights reserved.
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
[build-system]
|
| 5 |
requires = ["setuptools>=45", "wheel"]
|
|
|
|
| 11 |
description = "Ecommerce Bot environment for OpenEnv"
|
| 12 |
requires-python = ">=3.10"
|
| 13 |
dependencies = [
|
|
|
|
|
|
|
|
|
|
| 14 |
"openenv-core[core]>=0.2.2",
|
| 15 |
+
"fastapi",
|
| 16 |
+
"uvicorn",
|
| 17 |
+
"python-multipart"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
]
|
| 19 |
|
| 20 |
[project.optional-dependencies]
|
|
|
|
| 24 |
]
|
| 25 |
|
| 26 |
[project.scripts]
|
| 27 |
+
# This points directly to your app.py inside the server folder
|
| 28 |
+
server = "server.app:main"
|
|
|
|
| 29 |
|
| 30 |
[tool.setuptools]
|
| 31 |
include-package-data = true
|
| 32 |
+
# We are telling the system to just look at the 'server' folder we created
|
| 33 |
+
packages = ["server"]
|
| 34 |
+
package-dir = { "" = "." }
|