-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
76 lines (69 loc) · 2.3 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
[project]
name = "python_ics"
dynamic = ["version"]
authors = [
{name = "David Rebbe", email = "drebbe@intrepidcs.com"},
]
maintainers = [
{name = "David Rebbe", email = "drebbe@intrepidcs.com"},
]
description = "Python wrapper for interfacing to IntrepidCS Hardware."
keywords = ["intrepidcs", "CAN", "Ethernet", "Automotive", "ICS"]
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.8"
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.urls]
Homepage = "https://intrepidcs.com"
Documentation = "http://python-ics.readthedocs.io/"
Repository = "https://github.com/intrepidcs/python_ics/"
Issues = "https://github.com/intrepidcs/python_ics/issues"
[tool.setuptools.dynamic]
version = {attr = "ics.__version__"}
[build-system]
requires = [
"setuptools",
"wheel",
"dunamai",
]
[tool.cibuildwheel]
build = "{*-win32,*-win_amd64,*-macosx_universal2,*-manylinux_x86_64,*-manylinux_aarch64}"
skip = "cp36-* pp* *-manylinux_i686 *-musllinux_*"
environment = {DISTUTILS_DEBUG=1, MACOSX_DEPLOYMENT_TARGET="10.13", CIBW_ARCHS_LINUX="auto aarch64"}
before-build = "python -m pip install wheel"
manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64"
manylinux-aarch64-image = "quay.io/pypa/manylinux_2_28_aarch64"
[tool.cibuildwheel.linux]
before-build = "dnf install -y cmake clang clang-tools-extra flex bison"
archs = "auto aarch64"
[tool.cibuildwheel.macos]
archs = ["universal2"]
before-build = "brew install cmake clang-format"
[tool.cibuildwheel.windows]
before-build = "choco install llvm"
[tool.black]
line-length = 120
# https://stackoverflow.com/questions/73247204/black-not-respecting-extend-exclude-in-pyproject-toml
force-exclude = '''
/(
| .vscode
| .venv
| build
| ics
| include
| msvc
| src
)/
'''