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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
e9b67571
Commit
e9b67571
authored
Aug 31, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Makefile a little more generic to simplify code copying from other projects.
parent
2ab4744f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Makefile
Makefile
+6
-5
No files found.
Makefile
View file @
e9b67571
PACKAGENAME
=
Cython
PYTHON
?=
python
PYTHON
?=
python
TESTOPTS
?=
TESTOPTS
?=
REPO
=
git://github.com/cython/cython.git
REPO
=
git://github.com/cython/cython.git
...
@@ -11,9 +12,9 @@ all: local
...
@@ -11,9 +12,9 @@ all: local
local
:
local
:
${PYTHON}
setup.py build_ext
--inplace
${PYTHON}
setup.py build_ext
--inplace
sdist
:
dist/
Cython
-$(VERSION).tar.gz
sdist
:
dist/
$(PACKAGENAME)
-$(VERSION).tar.gz
dist/
Cython
-$(VERSION).tar.gz
:
dist/
$(PACKAGENAME)
-$(VERSION).tar.gz
:
$(PYTHON)
setup.py sdist
$(PYTHON)
setup.py sdist
TMPDIR
=
.repo_tmp
TMPDIR
=
.repo_tmp
...
@@ -53,8 +54,8 @@ s5:
...
@@ -53,8 +54,8 @@ s5:
wheel_manylinux
:
wheel_manylinux64 wheel_manylinux32
wheel_manylinux
:
wheel_manylinux64 wheel_manylinux32
wheel_manylinux32 wheel_manylinux64
:
dist/
Cython
-$(VERSION).tar.gz
wheel_manylinux32 wheel_manylinux64
:
dist/
$(PACKAGENAME)
-$(VERSION).tar.gz
echo
"Building wheels for
Cython
$(VERSION)
"
echo
"Building wheels for
$(PACKAGENAME)
$(VERSION)
"
mkdir
-p
wheelhouse_
$(
subst
wheel_,,
$@
)
mkdir
-p
wheelhouse_
$(
subst
wheel_,,
$@
)
time
docker run
--rm
-t
\
time
docker run
--rm
-t
\
-v
$(
shell
pwd
)
:/io
\
-v
$(
shell
pwd
)
:/io
\
...
@@ -66,4 +67,4 @@ wheel_manylinux32 wheel_manylinux64: dist/Cython-$(VERSION).tar.gz
...
@@ -66,4 +67,4 @@ wheel_manylinux32 wheel_manylinux64: dist/Cython-$(VERSION).tar.gz
$$PYBIN/python -V; \
$$PYBIN/python -V; \
{ $$PYBIN/pip wheel -w /io/$$WHEELHOUSE /io/$< & } ; \
{ $$PYBIN/pip wheel -w /io/$$WHEELHOUSE /io/$< & } ; \
done; wait; \
done; wait; \
for whl in /io/$$WHEELHOUSE/
Cython
-
$(VERSION)
-*-linux_*.whl; do auditwheel repair $$whl -w /io/$$WHEELHOUSE; done'
for whl in /io/$$WHEELHOUSE/
$(PACKAGENAME)
-
$(VERSION)
-*-linux_*.whl; do auditwheel repair $$whl -w /io/$$WHEELHOUSE; done'
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