Spaces:
Runtime error
Runtime error
Update pyproject.toml
Browse files- pyproject.toml +6 -28
pyproject.toml
CHANGED
|
@@ -1,9 +1,3 @@
|
|
| 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"]
|
| 9 |
build-backend = "setuptools.build_meta"
|
|
@@ -14,32 +8,16 @@ 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]
|
| 32 |
-
dev = [
|
| 33 |
-
"pytest>=8.0.0",
|
| 34 |
-
"pytest-cov>=4.0.0",
|
| 35 |
]
|
| 36 |
|
| 37 |
[project.scripts]
|
| 38 |
-
|
| 39 |
-
# or: python -m ecommerce_bot.server.app
|
| 40 |
-
server = "ecommerce_bot.server.app:main"
|
| 41 |
|
| 42 |
[tool.setuptools]
|
| 43 |
include-package-data = true
|
| 44 |
-
packages = ["
|
| 45 |
-
package-dir = { "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[build-system]
|
| 2 |
requires = ["setuptools>=45", "wheel"]
|
| 3 |
build-backend = "setuptools.build_meta"
|
|
|
|
| 8 |
description = "Ecommerce Bot environment for OpenEnv"
|
| 9 |
requires-python = ">=3.10"
|
| 10 |
dependencies = [
|
|
|
|
|
|
|
|
|
|
| 11 |
"openenv-core[core]>=0.2.2",
|
| 12 |
+
"fastapi",
|
| 13 |
+
"uvicorn",
|
| 14 |
+
"python-multipart"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
]
|
| 16 |
|
| 17 |
[project.scripts]
|
| 18 |
+
server = "app:main"
|
|
|
|
|
|
|
| 19 |
|
| 20 |
[tool.setuptools]
|
| 21 |
include-package-data = true
|
| 22 |
+
packages = ["."]
|
| 23 |
+
package-dir = { "" = "." }
|