-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
90 lines (81 loc) · 1.98 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[project]
name = "boneIO"
description = "Python App for BoneIO"
readme = "README.md"
dynamic = ["version"]
authors = [
{ name = "Paweł Szafer", email = "pszafer@gmail.com" },
]
dependencies = [
"Adafruit-Blinka>=8.20.1",
"adafruit-circuitpython-ds18x20>=1.3.17",
"adafruit-circuitpython-mcp230xx>=2.5.11",
"adafruit-circuitpython-mcp9808>=3.3.21",
"adafruit-circuitpython-pct2075>=1.1.19",
"aiomqtt>=1.1.0",
"Cerberus>=1.3.4",
"colorlog>=6.7.0",
"gpio>=1.0.0",
"luma-core>=2.4.0",
"luma-oled>=3.12.0",
"pymodbus>=2.5.3",
"pyserial-asyncio>=0.6",
"PyYAML>=6.0.1",
"psutil>=5.9.5",
"adafruit-circuitpython-onewire>=2.0.5",
"w1thermsensor[async]>=2.0.0",
"adafruit-circuitpython-pca9685>=3.4.10",
"adafruit-circuitpython-pcf8575>=1.0.2",
"adafruit-circuitpython-typing==1.9.5",
"Adafruit-BBIO>=1.2.0",
]
requires-python = ">=3.7"
license = { text = "GNU General Public License v3.0" }
[project.urls]
Homepage = "https://boneio.eu"
Repository = "https://github.com/boneIO-eu/app_bbb"
Documentation = "https://boneio.eu/docs/intro/"
Changelog = "https://github.com/boneIO-eu/app_bbb/releases"
[project.scripts]
boneio = "boneio.bonecli:main"
[tool.pdm]
version = { from = "boneio/version.py" }
[tool.pdm.dev-dependencies]
dev = [
"black>=23.3.0",
"isort>=5.11.5",
"pre-commit>=2.21.0",
"flake8>=5.0.4",
"bandit>=1.7.5",
"setuptools>=67.7.2",
]
[build-system]
requires = ["pdm-pep517", "setuptools>=42", "pybind11"]
build-backend = "pdm.pep517.api"
[tool.black]
line-length = 88
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| pdm/_vendor
| tests/fixtures
)/
'''
[tool.isort]
profile = "black"
atomic = true
filter_files = true
known_first_party = ["boneio"]
[tool.pdm.scripts]
lint = "pre-commit run --all-files"
[tool.setuptools.extension]
gpio_event = { sources = ["boneio/binding/gpio_event.cpp"], libraries = ["gpiod"] }