Spaces:
Sleeping
Sleeping
fix: add uv.lock, server/app.py, project.scripts for openenv validate
Browse files- pyproject.toml +4 -1
- server/__init__.py +1 -0
- server/app.py +4 -0
- uv.lock +0 -0
pyproject.toml
CHANGED
|
@@ -15,9 +15,12 @@ dependencies = [
|
|
| 15 |
"openai>=1.0.0",
|
| 16 |
]
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
[build-system]
|
| 19 |
requires = ["setuptools>=68.0"]
|
| 20 |
build-backend = "setuptools.backends._legacy:_Backend"
|
| 21 |
|
| 22 |
[tool.setuptools.packages.find]
|
| 23 |
-
include = ["*.py"]
|
|
|
|
| 15 |
"openai>=1.0.0",
|
| 16 |
]
|
| 17 |
|
| 18 |
+
[project.scripts]
|
| 19 |
+
server = "server.app:app"
|
| 20 |
+
|
| 21 |
[build-system]
|
| 22 |
requires = ["setuptools>=68.0"]
|
| 23 |
build-backend = "setuptools.backends._legacy:_Backend"
|
| 24 |
|
| 25 |
[tool.setuptools.packages.find]
|
| 26 |
+
include = ["*.py", "server"]
|
server/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# server package
|
server/app.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""server/app.py — OpenEnv multi-mode entry point."""
|
| 2 |
+
from main import app
|
| 3 |
+
|
| 4 |
+
__all__ = ["app"]
|
uv.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|