From 853f10df5061fe170fdbe0a325e2875a43ed469f Mon Sep 17 00:00:00 2001 From: Paul I Date: Mon, 16 Apr 2018 20:02:24 +0300 Subject: [PATCH] Fix AppVeyor build --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 0c02d81e..109258eb 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -60,7 +60,7 @@ after_build: - cmd: powershell -Command "Expand-Archive .\python_embed\python36.zip -DestinationPath .\%ARTIFACT_PATH%\python36" - cmd: rd /s /q "%ARTIFACT_PATH%\python36\lib2to3" - 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: python -O -m compileall -b -q "%ARTIFACT_PATH%\python36\site-packages" - cmd: del /s "%ARTIFACT_PATH%\python36\site-packages\*.py"