on centos6 need to have setuptools installed first

pull/658/head
Steven Robertson 5 years ago
parent 38939b2c1b
commit d87fe7c1a0

@ -15,9 +15,9 @@ steps:
# hard-fought battle and for now I am tired of this crap.
- script: |
sudo ln -fs /usr/bin/python$(python.version) /usr/bin/python
# need wheel before building virtualenv because of bdist_wheel dep
/usr/bin/python -m pip install -U pip wheel
/usr/bin/python -m pip install -U virtualenv setuptools
# need wheel before building virtualenv because of bdist_wheel and setuptools deps
/usr/bin/python -m pip install -U pip wheel setuptools
/usr/bin/python -m pip install -U virtualenv
/usr/bin/python -m virtualenv /tmp/venv -p /usr/bin/python$(python.version)
echo "##vso[task.prependpath]/tmp/venv/bin"

Loading…
Cancel
Save