Skip to content

Commit

Permalink
refactor: reorganize dependencies and add 'all' group
Browse files Browse the repository at this point in the history
  • Loading branch information
zealous-ideal-monk committed Nov 15, 2024
1 parent dfbd8ef commit 90c6870
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies = [
"typer",
"async_timeout",
"uvicorn",
"fastapi",
"pydantic_settings",
"httpx",
]
Expand All @@ -38,11 +37,24 @@ packages = { find = { include = ["*"] } }
package-data = { "quartz_solar_forecast" = ["*"] }

[project.optional-dependencies]
dev = ["streamlit", "plotly", "huggingface_hub==0.17.3", "gdown==5.1.0"]
dev = [
"streamlit",
"plotly",
"huggingface_hub==0.17.3",
"gdown==5.1.0",
"fastapi",
]

# additional vendor-specific dependencies for connecting to inverter APIs
inverters = ["ocf_vrmapi"] # victron
all = ["ocf_vrmapi"]
all = [
"ocf_vrmapi",
"streamlit",
"plotly",
"huggingface_hub==0.17.3",
"gdown==5.1.0",
"fastapi",
]

[tool.mypy]

Expand Down

0 comments on commit 90c6870

Please sign in to comment.