forked from gvalkov/python-evdev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (66 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (66 loc) · 2.32 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
[build-system]
requires = ["setuptools>=77.0"]
build-backend = "setuptools.build_meta"
[project]
name = "evdev"
version = "1.9.3.post1"
description = "Bindings to the Linux input handling subsystem"
keywords = ["evdev", "input", "uinput"]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.9"
authors = [
{ name="Georgi Valkov", email="georgi.t.valkov@gmail.com" },
]
maintainers = [
{ name="Tobi", email="proxima@sezanzeb.de" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
"Homepage" = "https://github.com/gvalkov/python-evdev"
[dependency-groups]
test = ["pytest"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
ignore = ["E265", "E241", "F403", "F401", "E401", "E731"]
[tool.cibuildwheel]
# evdev is Linux-only (needs <linux/input.h>): no macOS/Windows wheels exist.
# CPython 3.11-3.14 + free-threading; glibc only (musllinux skipped), no PyPy.
# NOTE: current cibuildwheel only ships cp314t for free-threading, so the cp313t-*
# selector is kept for forward-compat but produces nothing until it is available.
build = ["cp311-*", "cp312-*", "cp313-*", "cp314-*", "cp314t-*"]
skip = ["*-musllinux*", "pp*"]
archs = "native"
build-frontend = "build[uv]"
# Smoke-test that the wheel imports and every compiled extension loads.
test-command = "python -c \"import evdev, evdev.ecodes, evdev._input, evdev._uinput, evdev._ecodes\""
[tool.cibuildwheel.linux]
# manylinux images are glibc/AlmaLinux based and normally ship kernel-headers
# (pulled in by glibc-devel), but evdev's build hard-fails without <linux/input.h>;
# ensure they are present. No-op when already installed.
before-all = "yum install -y kernel-headers || true"
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
[tool.bumpversion]
current_version = "1.9.3.post1"
commit = true
tag = true
allow_dirty = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[[tool.bumpversion.files]]
filename = "docs/conf.py"
[tool.pylint.'MESSAGES CONTROL']
disable = """
no-member,
"""
[tool.pylint.typecheck]
generated-members = ["evdev.ecodes.*"]
ignored-modules= ["evdev._*"]