Add hack to install wheel for python 3.5 in linux

This commit is contained in:
Adriane Boyd 2020-11-26 14:09:17 +01:00
parent 9eb6f88ed5
commit c20bef2a2b

View File

@ -38,6 +38,7 @@ jobs:
Python35Linux:
imageName: 'ubuntu-16.04'
python.version: '3.5'
os: linux
Python35Windows:
imageName: 'vs2017-win2016'
python.version: '3.5'
@ -108,6 +109,11 @@ jobs:
pip uninstall -y -r installed.txt
displayName: 'Uninstall all packages'
- script: |
pip install wheel
condition: and(eq(variables['os'], 'linux'), eq(variables['python.version'], '3.5'))
displayName: 'Hack: install wheel for python 3.5'
- bash: |
SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1)
pip install dist/$SDIST