mirror of https://github.com/explosion/spaCy.git
Clean installed packages before CI sdist install
This commit is contained in:
parent
fb2c3075fd
commit
53493b032a
|
@ -97,6 +97,11 @@ jobs:
|
|||
contents: 'spacy'
|
||||
displayName: 'Delete source directory'
|
||||
|
||||
- script: |
|
||||
pip freeze > installed.txt
|
||||
pip uninstall -y -r installed.txt
|
||||
displayName: 'Uninstall all packages'
|
||||
|
||||
- bash: |
|
||||
SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1)
|
||||
pip install dist/$SDIST
|
||||
|
|
Loading…
Reference in New Issue