forked from gijzelaerr/python-snap7
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (71 loc) · 1.76 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
[build-system]
requires = ["setuptools>=68.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "python-snap7"
version = "1.3"
description = "Python wrapper for the snap7 library"
authors = [
{name = "Gijs Molenaar", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Topic :: System :: Hardware",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
license = {text = "MIT"}
requires-python = ">=3.7"
[project.urls]
Homepage = "https://github.com/gijzelaerr/python-snap7"
Documentation = "https://python-snap7.readthedocs.io/en/latest/"
[project.optional-dependencies]
test = ["pytest", "pytest-asyncio", "mypy", "types-setuptools", "ruff"]
cli = ["rich", "click" ]
doc = ["sphinx", "sphinx_rtd_theme"]
[tool.setuptools.package-data]
snap7 = ["py.typed", "lib/libsnap7.so", "lib/snap7.dll", "lib/libsnap7.dylib"]
[project.scripts]
snap7-server = "snap7.server.__main__:main"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers =[
"client",
"common",
"logo",
"mainloop",
"partner",
"server",
"util"
]
[tool.mypy]
ignore_missing_imports = true
[tool.ruff]
select = [
"E",
"F",
"UP",
"YTT",
"ASYNC",
"S",
"A",
"PIE",
"PYI",
"PTH",
"C90",
]
show-source = true
line-length = 130
ignore = []
target-version = "py37"
[tool.ruff.mccabe]
max-complexity = 10