diff --git a/pyproject.toml b/pyproject.toml index a1b6179..704c251 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,10 @@ files = "src/libusb_package" ignore_missing_imports = true [tool.cibuildwheel] +# The wheel is tagged py3-none- by libusb_bdist_wheel.get_tag() in setup.py (the extension +# doesn't touch the CPython C API), so it's compatible with any CPython 3.9+ build, including +# free-threaded. One interpreter per platform/arch is enough; python_requires = >=3.9 in setup.cfg. +build = "cp39-*" before-build = "python -m pip install --upgrade pip wheel setuptools setuptools_scm" build-verbosity = 1