diff --git a/Makefile b/Makefile index 29e4086f..a796f484 100644 --- a/Makefile +++ b/Makefile @@ -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