From 90c6870d91f1101e9e2ac0ae0b520f3b7ead6603 Mon Sep 17 00:00:00 2001 From: zealous-ideal-monk Date: Fri, 15 Nov 2024 14:25:05 +0530 Subject: [PATCH] refactor: reorganize dependencies and add 'all' group --- pyproject.toml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ac7cf73..f245d5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,6 @@ dependencies = [ "typer", "async_timeout", "uvicorn", - "fastapi", "pydantic_settings", "httpx", ] @@ -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]