Skip to content

Commit

Permalink
Separate out optional dependency perseus
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywonchung committed Feb 25, 2024
1 parent 4eff264 commit 8ba8a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/perseus/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Then, start the Perseus server and plug in the frequency plan you chose:

```console
$ docker exec -it merak-zeus bash
# pip install '.[perseus]'
# PERSEUS_SCHEDULER_ARGS='{"solution_path": "path/to/freqs_pipeline_%05d.py"}' uvicorn zeus.optimizer.perseus.server.router:app --port 7787
```

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ dependencies = [
"pydantic",
"rich",
"tyro",
"fastapi[all]==0.87.0",
"httpx",
"aiofiles==22.1.0",
"lowtime",
]
dynamic = ["version"]

Expand All @@ -41,6 +39,7 @@ Homepage = "https://ml.energy/zeus"
Documentation = "https://ml.energy/zeus"

[project.optional-dependencies]
perseus = ["fastapi[all]", "lowtime"]
lint = ["ruff", "black==22.6.0"]
test = ["pytest==7.3.2", "pytest-mock==3.10.0", "pytest-xdist==3.3.1"]
dev = ["ruff", "black==22.6.0", "pytest==7.3.2", "pytest-mock==3.10.0", "pytest-xdist==3.3.1"]
Expand Down

0 comments on commit 8ba8a4e

Please sign in to comment.