Attempt to make powermon stuff optional, hopefully allowing pypi release

This commit is contained in:
Ian McEwen
2024-08-11 10:08:40 -07:00
parent 84ffdcdb8c
commit 72de803195
3 changed files with 40 additions and 26 deletions

View File

@@ -21,9 +21,7 @@ pyyaml = "^6.0.1"
pypubsub = "^4.0.3"
bleak = "^0.21.1"
packaging = "^24.0"
riden = { git = "https://github.com/geeksville/riden.git#1.2.1" }
parse = "^1.20.2"
ppk2-api = "^0.9.2"
pyarrow = "^16.1.0"
platformdirs = "^4.2.2"
print-color = "^0.4.6"
@@ -50,6 +48,13 @@ types-pyyaml = "^6.0.12.20240311"
pyarrow-stubs = "^10.0.1.7"
pandas-stubs = "^2.2.2.240603"
[tool.poetry.group.powermon]
optional = true
[tool.poetry.group.powermon.dependencies]
riden = { git = "https://github.com/geeksville/riden.git#1.2.1" }
ppk2-api = "^0.9.2"
# If you are doing power analysis you might want these extra devtools
[tool.poetry.group.analysis]
optional = true