Be more aggressive about building wheels

When "pip wheel" hits a package where building the egg-info metadata
fails, it completely falls over and stops trying to build more wheels.
Loop over our requirements one by one, so we can ignore the packages
that fail to build wheels, and build any that come in the list after
those.

Change-Id: Ia23672b851d50af38c61823936f19b8572a78c4f
This commit is contained in:
Doug Hellmann 2015-01-12 16:43:25 -05:00
parent 3991d07543
commit afc8c1bb56
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ mkvenv $tmpdir/wheelhouse
# Not all packages properly build wheels (httpretty for example).
# Do our best but ignore errors when making wheels.
set +e
$tmpdir/wheelhouse/bin/pip wheel -r $REPODIR/requirements/global-requirements.txt
grep -v '^#' $REPODIR/requirements/global-requirements.txt | while read req
do
$tmpdir/wheelhouse/bin/pip wheel "$req"
done
set -e
#BRANCH