diff options
author | Doug Hellmann <doug@doughellmann.com> | 2015-01-12 16:43:25 -0500 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2015-01-12 16:43:25 -0500 |
commit | afc8c1bb56fe8de72c7620138893f6ceba105093 (patch) | |
tree | b11766ed8fd4e2c9f50012b406ea75adf5c61cbd /tools/integration.sh | |
parent | 3991d07543552795fbbd61ba116aa66ec2d8e1a3 (diff) | |
download | pbr-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.sh | 5 |
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 |