Fix AppVeyor build

This commit is contained in:
Paul I 2018-04-16 20:02:24 +03:00 committed by Florian Märkl
parent 6934d785f4
commit 853f10df50

View File

@ -60,7 +60,7 @@ after_build:
- cmd: powershell -Command "Expand-Archive .\python_embed\python36.zip -DestinationPath .\%ARTIFACT_PATH%\python36" - cmd: powershell -Command "Expand-Archive .\python_embed\python36.zip -DestinationPath .\%ARTIFACT_PATH%\python36"
- cmd: rd /s /q "%ARTIFACT_PATH%\python36\lib2to3" - cmd: rd /s /q "%ARTIFACT_PATH%\python36\lib2to3"
- cmd: python -m pip install -I --no-compile -t "%ARTIFACT_PATH%\python36\site-packages" jupyter - cmd: python -m pip install -I --no-compile -t "%ARTIFACT_PATH%\python36\site-packages" jupyter
- cmd: rd /s /q "%ARTIFACT_PATH%\python36\site-packages\test" - cmd: if exist "%ARTIFACT_PATH%\python36\site-packages\test" ( rd /s /q "%ARTIFACT_PATH%\python36\site-packages\test" )
- cmd: for /d %%p in ("%ARTIFACT_PATH%\python36\site-packages\*.dist-info" "%ARTIFACT_PATH%\python36\site-packages\*.egg-info") do rd /s /q "%%p" - cmd: for /d %%p in ("%ARTIFACT_PATH%\python36\site-packages\*.dist-info" "%ARTIFACT_PATH%\python36\site-packages\*.egg-info") do rd /s /q "%%p"
- cmd: python -O -m compileall -b -q "%ARTIFACT_PATH%\python36\site-packages" - cmd: python -O -m compileall -b -q "%ARTIFACT_PATH%\python36\site-packages"
- cmd: del /s "%ARTIFACT_PATH%\python36\site-packages\*.py" - cmd: del /s "%ARTIFACT_PATH%\python36\site-packages\*.py"