-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (96 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
105 lines (96 loc) · 2.44 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pymc_core"
version = "1.0.2"
authors = [
{name = "Lloyd Newton", email = "lloyd@rightup.co.uk"},
]
description = "A Python MeshCore library with SPI LoRa radio support"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications",
"Topic :: System :: Networking",
]
keywords = ["mesh", "networking", "lora", "radio", "iot", "communication"]
dependencies = [
"pycryptodome>=3.23.0",
"PyNaCl>=1.5.0",
"pyyaml>=6.0.0",
]
[project.optional-dependencies]
radio = ["pyserial>=3.5"]
hardware = [
"gpiozero>=2.0.0",
"lgpio>=0.2.0",
"spidev>=3.5",
]
websocket = [
"websockets>=11.0.0",
]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"pre-commit>=3.0.0",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
"mkdocs-git-revision-date-localized-plugin>=1.2.0",
"mkdocs-git-committers-plugin-2>=1.2.0",
]
all = ["pymc_core[hardware,websocket,dev,docs]"]
[project.urls]
Homepage = "https://github.com/rightup/pyMC_core"
Documentation = "https://rightup.github.io/rightup/pyMC_core"
Repository = "https://github.com/rightup/pyMC_core.git"
Issues = "https://github.com/rightup/pyMC_core/issues"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["pymc_core*"]
exclude = ["__pycache__*", "*.pyc", "*.pyo"]
[tool.black]
line-length = 100
target-version = ['py38']
[tool.isort]
profile = "black"
line_length = 100
[tool.flake8]
max-line-length = 100
extend-ignore = ["E203", "W503"]
exclude = [
"src/pymc_core/hardware/lora/",
"examples/",
"__pycache__",
".git",
".tox",
"dist",
"*.egg-info"
]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"