Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
57cf559f
Commit
57cf559f
authored
Feb 13, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
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)
...
...
setup.cfg
View file @
57cf559f
...
...
@@ -22,4 +22,7 @@ concurrency = multiprocessing,thread
include = Cython/*
source = Cython
omit = Test*
[bdist_wheel]
universal = 1
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