Compare commits

...

2 commits

Author SHA1 Message Date
Dan Mick
038b63569e Remove "--allow-hosts None" because it magically makes things work
Fixes: 12302
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 5f34b358fc)
2015-10-08 22:47:25 -07:00
Sandon Van Ness
a344c9225d Added pip 1.5 workaround.
Setuptools needs to be upgraded with --no-use-wheel. A change we
already were using in other projects.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-01-15 18:50:57 -08:00

View file

@ -32,11 +32,13 @@ virtualenv --no-site-packages --distribute virtualenv
# avoid pip bugs # avoid pip bugs
./virtualenv/bin/pip install --upgrade pip ./virtualenv/bin/pip install --upgrade pip
# work-around change in pip 1.5
./virtualenv/bin/pip install setuptools --no-use-wheel --upgrade
./virtualenv/bin/pip install -r requirements.txt ./virtualenv/bin/pip install -r requirements.txt
# forbid setuptools from using the network because it'll try to use # forbid setuptools from using the network because it'll try to use
# easy_install, and we really wanted pip; next line will fail if pip # easy_install, and we really wanted pip; next line will fail if pip
# requirements.txt does not match setup.py requirements -- sucky but # requirements.txt does not match setup.py requirements -- sucky but
# good enough for now # good enough for now
./virtualenv/bin/python setup.py develop \ ./virtualenv/bin/python setup.py develop
--allow-hosts None