Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cython
Commits
57cf559f
Commit
57cf559f
authored
5 years ago
by
Stefan Behnel
Browse files
Options
Download
Email Patches
Plain Diff
Add Makefile target to generate a universal Py2/3 wheel when not compiling Cython. See GH-3354.
parent
9995c70c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
Makefile
Makefile
+6
-0
setup.cfg
setup.cfg
+4
-1
No files found.
Makefile
View file @
57cf559f
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
View file @
57cf559f
...
...
@@ -22,4 +22,7 @@ concurrency = multiprocessing,thread
include = Cython/*
source = Cython
omit = Test*
[bdist_wheel]
universal = 1
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment