mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-10-09 21:36:41 +03:00
Add wheels Makefile target
This commit is contained in:
parent
91a741a633
commit
8c2a32213a
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user