-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
50 lines (41 loc) · 1.17 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[tool.poetry]
name = "modpoll"
version = "1.4.0"
description = "A New Command-line Tool for Modbus and MQTT"
authors = ["Ying Shaodong <[email protected]>"]
repository = "https://github.com/gavinying/modpoll"
documentation = "https://gavinying.github.io/modpoll"
readme = "README.md"
packages = [{ include = "modpoll" }]
[tool.poetry.dependencies]
python = ">=3.8.2,<4.0"
pymodbus = "~3.6.9"
paho-mqtt = "^2.1.0"
prettytable = "^3.9.0"
requests = "^2.32.0"
pyserial = { version = "^3.5", optional = true }
[tool.poetry.extras]
serial = ["pyserial"]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
pytest = "^8.2.2"
deptry = "^0.16.1"
tox = "^4.16.0"
[tool.poetry.group.docs.dependencies]
sphinx = "~4.2.0"
sphinx-argparse = "^0.3.1"
sphinx-rtd-theme = "^1.0.0"
sphinx-autobuild = "2021.3.14"
pandoc = "^2.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.deptry]
package_module_name_map = { pyserial = "serial" }
[tool.deptry.per_rule_ignores]
DEP002 = ["pyserial"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["integration: marks tests as integration tests"]
[tool.poetry.scripts]
modpoll = "modpoll.main:app"