on centos6 need to have setuptools installed first
This commit is contained in:
parent
38939b2c1b
commit
d87fe7c1a0
|
@ -15,9 +15,9 @@ steps:
|
||||||
# hard-fought battle and for now I am tired of this crap.
|
# hard-fought battle and for now I am tired of this crap.
|
||||||
- script: |
|
- script: |
|
||||||
sudo ln -fs /usr/bin/python$(python.version) /usr/bin/python
|
sudo ln -fs /usr/bin/python$(python.version) /usr/bin/python
|
||||||
# need wheel before building virtualenv because of bdist_wheel dep
|
# need wheel before building virtualenv because of bdist_wheel and setuptools deps
|
||||||
/usr/bin/python -m pip install -U pip wheel
|
/usr/bin/python -m pip install -U pip wheel setuptools
|
||||||
/usr/bin/python -m pip install -U virtualenv setuptools
|
/usr/bin/python -m pip install -U virtualenv
|
||||||
/usr/bin/python -m virtualenv /tmp/venv -p /usr/bin/python$(python.version)
|
/usr/bin/python -m virtualenv /tmp/venv -p /usr/bin/python$(python.version)
|
||||||
echo "##vso[task.prependpath]/tmp/venv/bin"
|
echo "##vso[task.prependpath]/tmp/venv/bin"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue