makes influxdb ans postgres dependencies optional

This commit is contained in:
Mose Mueller 2024-01-31 16:13:44 +01:00
parent b6eb0a49c7
commit 289ce9d129

View File

@ -13,17 +13,19 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.10"
influxdb-client = "^1.36.1"
sqlmodel = "^0.0.8"
confz = "^2.0.0"
psycopg2-binary = "^2.9.6"
pydase = "*"
# optional dependencies
tiqi-rpc = { git = "ssh://git@gitlab.phys.ethz.ch/tiqi-projects/tiqi-rpc-python.git", optional=true }
tiqi-rpc = { git = "ssh://git@gitlab.phys.ethz.ch/tiqi-projects/tiqi-rpc-python.git", optional = true }
influxdb-client = { version = "^1.36.1", optional = true}
sqlmodel = { version = "^0.0.8", optional = true}
psycopg2-binary = { version = "^2.9.6", optional = true }
[tool.poetry.extras]
ionizer = ["tiqi-rpc"]
influxdbv2 = ["influxdb-client"]
postgresql = ["sqlmodel", "psycopg2-binary"]
[tool.poetry.group.dev]
optional = true