summaryrefslogtreecommitdiff
path: root/tools/integration.sh
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2015-01-12 16:43:25 -0500
committerDoug Hellmann <doug@doughellmann.com>2015-01-12 16:43:25 -0500
commitafc8c1bb56fe8de72c7620138893f6ceba105093 (patch)
treeb11766ed8fd4e2c9f50012b406ea75adf5c61cbd /tools/integration.sh
parent3991d07543552795fbbd61ba116aa66ec2d8e1a3 (diff)
downloadpbr-afc8c1bb56fe8de72c7620138893f6ceba105093.tar.gz
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
Diffstat (limited to 'tools/integration.sh')
-rw-r--r--tools/integration.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/integration.sh b/tools/integration.sh
index a7c47a2..df055d8 100644
--- a/tools/integration.sh
+++ b/tools/integration.sh
@@ -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