Skip to content

Commit 9b8d177

Browse files
committed
feat: Put it in the wheel and make it pip installable
1 parent 196daac commit 9b8d177

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed
File renamed without changes.

components/ingress/__init__.py

Whitespace-only changes.

components/frontend/main.py renamed to components/ingress/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,10 @@ async def main():
5353
pass
5454

5555

56+
def start():
57+
"""Console script entry point"""
58+
uvloop.run(main())
59+
60+
5661
if __name__ == "__main__":
5762
uvloop.run(main())

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,14 @@ llmctl = "dynamo.sdk.cli.run_executable:llmctl"
7575
http = "dynamo.sdk.cli.run_executable:http"
7676
metrics = "dynamo.sdk.cli.run_executable:metrics"
7777
mock_worker = "dynamo.sdk.cli.run_executable:mock_worker"
78+
dynamo-frontend = "ingress.main:start"
7879

7980
[build-system]
8081
requires = ["hatchling"]
8182
build-backend = "hatchling.build"
8283

8384
[tool.hatch.build.targets.wheel]
84-
packages = ["deploy/sdk/src/dynamo", "components/planner/src/dynamo"]
85+
packages = ["deploy/sdk/src/dynamo", "components/planner/src/dynamo", "components/ingress"]
8586

8687
# This section is for including the binaries in the wheel package
8788
# but doesn't make them executable scripts in the venv bin directory

0 commit comments

Comments
 (0)