Commit 57cf559f 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 9995c70c
......@@ -17,6 +17,12 @@ sdist: dist/$(PACKAGENAME)-$(VERSION).tar.gz
dist/$(PACKAGENAME)-$(VERSION).tar.gz:
$(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
[ -f "$@" ] # check that we generated the expected universal wheel
TMPDIR = .repo_tmp
.git: .gitrev
rm -rf $(TMPDIR)
......
......@@ -22,4 +22,7 @@ concurrency = multiprocessing,thread
include = Cython/*
source = Cython
omit = Test*
[bdist_wheel]
universal = 1
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