summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-04-05 13:51:12 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-04-05 13:51:12 -0400
commitf2517c9b2356d6267522f0348ed00626f2106aeb (patch)
treead16948e240262fb8bd77fc25264b1667436f050
parent6a164bd73b0f2a76da24d62dea48161c99a7745a (diff)
downloadpython-coveragepy-git-f2517c9b2356d6267522f0348ed00626f2106aeb.tar.gz
Make manylinux wheels be always fast-building
https://github.com/pypa/python-manylinux-demo/issues/13 for details
-rwxr-xr-xci/manylinux.sh6
-rw-r--r--howto.txt1
2 files changed, 4 insertions, 3 deletions
diff --git a/ci/manylinux.sh b/ci/manylinux.sh
index 06618111..98dc874b 100755
--- a/ci/manylinux.sh
+++ b/ci/manylinux.sh
@@ -13,10 +13,12 @@ action=$1
if [[ $action == "build" ]]; then
# Compile wheels
+ cd /io
for PYBIN in /opt/python/*/bin; do
- "$PYBIN/pip" install -r /io/requirements/wheel.pip
- "$PYBIN/pip" wheel /io/ -w wheelhouse/
+ "$PYBIN/pip" install -r requirements/wheel.pip
+ "$PYBIN/python" setup.py bdist_wheel -d ~/wheelhouse/
done
+ cd ~
# Bundle external shared libraries into the wheels
for whl in wheelhouse/*.whl; do
diff --git a/howto.txt b/howto.txt
index ab532863..3044886c 100644
--- a/howto.txt
+++ b/howto.txt
@@ -49,7 +49,6 @@
- Source kit and wheels:
- $ make kit wheel
- Linux wheels:
- - this can be fast (3min) or slow (1h45m). not sure why.
- $ make manylinux
- Windows kits
- wait for over an hour for Appveyor to build kits.