From dc8348b99ef60bce8bff3bde46d53d508bd975e6 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 24 Jun 2024 09:59:31 -0700 Subject: [PATCH] add (optional) poe tool config for easy running of external commands --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c767dd3..525bf97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "GPL-3.0-only" readme = "README.md" [tool.poetry.dependencies] -python = "^3.9,<3.13" # 3.9 is needed for pandas, bleak requires a max of 3.13 for some reason +python = "^3.9,<3.13" # 3.9 is needed for pandas, bleak requires a max of 3.13 for some reason pyserial = "^3.5" protobuf = ">=5.26.0" dotmap = "^1.3.30" @@ -22,7 +22,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"} +riden = { git = "https://github.com/geeksville/riden.git#1.2.1" } pandas = "^2.2.2" parse = "^1.20.2" ppk2-api = "^0.9.2" @@ -51,6 +51,12 @@ tunnel = ["pytap2"] meshtastic = "meshtastic.__main__:main" mesh-tunnel = "meshtastic.__main__:tunnelMain [tunnel]" +# "Poe the poet" (optional) provides an easy way of running non python tools inside the poetry virtualenv +# if you would like to use it run "pipx install poe" +# then you can do stuff like "poe code" to run vscode inside this environment +[tool.poe.tasks] +code = "code ." + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"