Commit 5fe81f40 authored by Stefan Behnel's avatar Stefan Behnel

Add Makefile target to generate a universal Py2/3 wheel when not compiling Cython. See GH-3354.

parent 10ac3200
...@@ -17,6 +17,12 @@ sdist: dist/$(PACKAGENAME)-$(VERSION).tar.gz ...@@ -17,6 +17,12 @@ sdist: dist/$(PACKAGENAME)-$(VERSION).tar.gz
dist/$(PACKAGENAME)-$(VERSION).tar.gz: dist/$(PACKAGENAME)-$(VERSION).tar.gz:
$(PYTHON) setup.py sdist $(PYTHON) setup.py sdist
pywheel: dist/$(PACKAGENAME)-$(VERSION)-py2.py3-none-any.whl
dist/$(PACKAGENAME)-$(VERSION)-py2.py3-none-any.whl:
${PYTHON} setup.py bdist_wheel --no-cython-compile --universal
[ -f "$@" ] # check that we generated the expected universal wheel
TMPDIR = .repo_tmp TMPDIR = .repo_tmp
.git: .gitrev .git: .gitrev
rm -rf $(TMPDIR) rm -rf $(TMPDIR)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment