Przeglądaj źródła

[deps] added click to deps (for CLI)

Maxime Alves LIRMM@home 4 lat temu
rodzic
commit
cc53a5e0f9
2 zmienionych plików z 5 dodań i 1 usunięć
  1. 1
    1
      poetry.lock
  2. 4
    0
      pyproject.toml

+ 1
- 1
poetry.lock Wyświetl plik

@@ -324,7 +324,7 @@ docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]
324 324
 testing = ["jaraco.itertools", "func-timeout"]
325 325
 
326 326
 [metadata]
327
-content-hash = "c2eebf612ea0d48c4591173dd75bd97efa526046adc29b805ec6edc81e6f9598"
327
+content-hash = "359775382989405c3f1d1031df02c253e9687472af49420424ed8ed1eb000186"
328 328
 lock-version = "1.0"
329 329
 python-versions = "^3.7"
330 330
 

+ 4
- 0
pyproject.toml Wyświetl plik

@@ -10,6 +10,7 @@ python = "^3.7"
10 10
 starlette = "^0.13.6"
11 11
 uvicorn = "^0.11.6"
12 12
 umodbus = "^1.0.3"
13
+click = "^7.1.2"
13 14
 
14 15
 [tool.poetry.dev-dependencies]
15 16
 pytest = "^5.4.3"
@@ -20,3 +21,6 @@ pytest-asyncio = "^0.14.0"
20 21
 [build-system]
21 22
 requires = ["poetry>=0.12"]
22 23
 build-backend = "poetry.masonry.api"
24
+
25
+[tool.poetry.scripts]
26
+pyheatpump = 'pyheatpump.cli:run'

Loading…
Anuluj
Zapisz