forked from christoph2/pyxcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
125 lines (114 loc) · 2.92 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["pdm", "pdm-pep517", "pybind11<3.0.0,>=2.9.0", "wheel", "build", "twine", "setuptools"]
build-backend = "pdm.pep517.api"
[tool.pdm]
includes = []
build = "build_ext.py"
license-expression = "LGPL-3.0-or-later"
license-files.paths = ["LICENSE"]
[tool.pdm.dev-dependencies]
dev = [
"pytest<7.0.0,>=6.2.5",
"pytest-runner<6.0.0,>=5.3.1",
"pytest-cov<4.0.0,>=3.0.0",
]
[project]
authors = [
{name = "Christoph Schueler"},
{email = "cpu12.gems@googlemail.com"}
]
requires-python = ">=3.7"
dependencies = [
"setuptools-cpp<1.0.0,>=0.1.0",
"Mako<2.0.0,>=1.1.6",
"construct<3.0.0,>=2.10.67",
"pyserial<4.0,>=3.5",
"pyusb<2.0.0,>=1.2.1",
"toml<1.0.0,>=0.10.2",
"python-can>=4.0.0",
"uptime>=3.0.1",
"chardet>=5.2.0",
"traitlets>=5.9.0",
]
name = "pyxcp"
version = "0.21.3"
readme = "README.md"
description = "Universal Calibration Protocol for Python"
keywords = ["automotive", "ecu", "xcp", "asam", "autosar"]
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers", "Topic :: Software Development",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"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"
]
dynamic = ["entry-points"]
[project.urls]
homepage = "https://github.com/christoph2/pyxcp"
[project.optional-dependencies]
doc = [
"sphinx",
"sphinxcontrib-napoleon"
]
[project.scripts]
pyxcp-probe-can-drivers = "pyxcp.scripts.pyxcp_probe_can_drivers:main"
xcp-id-scanner = "pyxcp.scripts.xcp_id_scanner:main"
xcp-fetch-a2l = "pyxcp.scripts.xcp_fetch_a2l:main"
xcp-info = "pyxcp.scripts.xcp_info:main"
[tool.pytest]
addopts = "--verbose --tb=short --junitxml=result.xml -o junit_family=xunit2"
testpaths = "pyxcp/tests"
[tool.flake8]
ignore = ["D203", "E203", "E266", "E501", "W503", "F403", "F401", "BLK100"]
exclude = '''
/(
\.git
| __pycache__
| __pypackages__
| \.mypy_cache
| \.tox
| \.venv
| \.eggs
| _build
| build
| docs
| dist
| experimental
)/
'''
max-complexity = 10
count = true
statistics = true
show-source = true
max-line-length = 132
select = ["B","C","E","F","W","T4","B9"]
[tool.black]
line-length=132
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| docs
| experimental
| __pycache__
| __pypackages__
| dist
)/
'''
[tool.cibuildwheel]
build-verbosity = 3
#test-command = "pytest {package}/tests"
#test-command = "pytest -svv pyxcp/tests"
build = "cp3{7,8,9,10,11}-*"
skip = ["*-manylinux_i686", "*-musllinux_x86_64", "*-musllinux_i686"] # Skip Linux 32bit and MUSL builds.
build-frontend = "build"