-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move development dependencies to optional dependencies (#221)
* move streamlit and other dev tools to optional dependencies * Moved dependencies in the respected place holder created before * refactor: reorganize dependencies and add 'all' group
- Loading branch information
1 parent
e4e6007
commit 3d53ea8
Showing
1 changed file
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,32 +6,27 @@ build-backend = "setuptools.build_meta" | |
name = "quartz_solar_forecast" | ||
version = "1.0.83" | ||
description = "Open Source Solar Forecasting for a Site" | ||
authors = [ | ||
{ name = "Peter Dudfield", email = "[email protected]" } | ||
] | ||
authors = [{ name = "Peter Dudfield", email = "[email protected]" }] | ||
readme = "README.md" | ||
requires-python = ">=3.6" | ||
license = { text = "MIT" } | ||
|
||
[project] | ||
dependencies = [ | ||
# Keep core dependencies that are needed for the app to run | ||
"xarray==2022.12.0", | ||
"pv-site-prediction==0.1.19", | ||
"pydantic==2.6.2", | ||
"huggingface_hub==0.17.3", # only for evaluation | ||
"python-dotenv==1.0.1", | ||
"openmeteo-requests==1.2.0", | ||
"requests-cache==1.2.0", | ||
"retry-requests==2.0.0", | ||
"gdown==5.1.0", | ||
"xgboost==2.0.3", | ||
"plotly", | ||
"typer", | ||
"streamlit", | ||
"async_timeout", | ||
"uvicorn", | ||
"fastapi", | ||
"pydantic_settings", | ||
"httpx" | ||
"httpx", | ||
] | ||
|
||
[project.urls] | ||
|
@@ -42,10 +37,24 @@ packages = { find = { include = ["*"] } } | |
package-data = { "quartz_solar_forecast" = ["*"] } | ||
|
||
[project.optional-dependencies] | ||
dev = [] | ||
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] | ||
|
||
|