File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ REM Virtual environment test script
44REM ======================================================
55REM Licensed under the terms of the MIT License
66REM Copyright (c) 2020 Pierre Raybaut
7- REM (see LICENSE file for more details)
7+ REM (see PythonQwt LICENSE file for more details)
88REM ======================================================
99setlocal
1010call %~dp0 utils GetScriptPath SCRIPTPATH
@@ -22,11 +22,12 @@ exit /B %ERRORLEVEL%
2222call %FUNC% GetLibName LIBNAME
2323call %FUNC% ShowTitle " Testing in %~1 -based Python virtual environment"
2424set VENVPATH = %SCRIPTPATH% \..\build\testenv
25+ if exist %VENVPATH% ( rmdir /s /q %VENVPATH% )
2526python -m venv %VENVPATH%
2627call %VENVPATH% \Scripts\activate
2728python -m pip install --upgrade pip
2829pip install %~1
2930for %%f IN (" %SCRIPTPATH% \..\dist\%LIBNAME% -*.whl" ) DO ( pip install %%f )
3031call %VENVPATH% \Scripts\%LIBNAME% -tests-py3 --mode unattended
3132call %VENVPATH% \Scripts\deactivate
32- exit /B 0
33+ exit /B 0
You can’t perform that action at this time.
0 commit comments