Add wheels Makefile target

This commit is contained in:
ZipFile 2025-09-19 09:10:20 +00:00
parent 91a741a633
commit 8c2a32213a

View File

@ -1,6 +1,10 @@
VERSION := $(shell python setup.py --version)
export COVERAGE_RCFILE := pyproject.toml
export CIBW_ENVIRONMENT_PASS_LINUX := CFLAGS PIP_CONFIG_SETTINGS DEPENDENCY_INJECTOR_LIMITED_API
export PIP_CONFIG_SETTINGS ?= build_ext=-j4
export DEPENDENCY_INJECTOR_LIMITED_API ?= 1
export CFLAGS ?= -g0
clean:
# Clean sources
@ -63,3 +67,6 @@ publish:
# Create and upload tag
git tag -a $(VERSION) -m 'version $(VERSION)'
git push --tags
wheels:
cibuildwheel --output-dir wheelhouse