mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-12 17:40:34 +03:00
Add hack to install wheel for python 3.5 in linux
This commit is contained in:
parent
9eb6f88ed5
commit
c20bef2a2b
|
@ -38,6 +38,7 @@ jobs:
|
||||||
Python35Linux:
|
Python35Linux:
|
||||||
imageName: 'ubuntu-16.04'
|
imageName: 'ubuntu-16.04'
|
||||||
python.version: '3.5'
|
python.version: '3.5'
|
||||||
|
os: linux
|
||||||
Python35Windows:
|
Python35Windows:
|
||||||
imageName: 'vs2017-win2016'
|
imageName: 'vs2017-win2016'
|
||||||
python.version: '3.5'
|
python.version: '3.5'
|
||||||
|
@ -108,6 +109,11 @@ jobs:
|
||||||
pip uninstall -y -r installed.txt
|
pip uninstall -y -r installed.txt
|
||||||
displayName: 'Uninstall all packages'
|
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: |
|
- bash: |
|
||||||
SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1)
|
SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1)
|
||||||
pip install dist/$SDIST
|
pip install dist/$SDIST
|
||||||
|
|
Loading…
Reference in New Issue
Block a user