Skip to content

Commit 7f88962

Browse files
committed
Upgraded clean_up.bat
1 parent d7fb92e commit 7f88962

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

scripts/clean_up.bat

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,17 @@ REM (see PythonQwt LICENSE file for more details)
99
REM ======================================================
1010
call %~dp0utils GetScriptPath SCRIPTPATH
1111
call %FUNC% GetLibName LIBNAME
12+
call %FUNC% GetModName MODNAME
1213
cd %SCRIPTPATH%\..\
1314

1415
@REM Removing files/directories related to Python/doc build process
1516
if exist %LIBNAME%.egg-info ( rmdir /s /q %LIBNAME%.egg-info )
16-
if exist %LIBNAME%\%LIBNAME%.chm ( del /q %LIBNAME%\%LIBNAME%.chm )
17+
if exist %MODNAME%.egg-info ( rmdir /s /q %MODNAME%.egg-info )
1718
if exist MANIFEST ( del /q MANIFEST )
1819
if exist build ( rmdir /s /q build )
1920
if exist dist ( rmdir /s /q dist )
2021
if exist doc\_build ( rmdir /s /q doc\_build )
2122

22-
@REM Removing files produced by tests
23-
del *.png
24-
del *.tif
25-
del *.pickle
26-
2723
@REM Removing cache files/directories related to Python execution
2824
del /s /q *.pyc 1>nul 2>&1
2925
del /s /q *.pyo 1>nul 2>&1
@@ -40,4 +36,4 @@ if exist .coverage ( del /q .coverage )
4036
if exist coverage.xml ( del /q coverage.xml )
4137
if exist htmlcov ( rmdir /s /q htmlcov )
4238
del /q .coverage.* 1>nul 2>&1
43-
if exist sitecustomize.py ( del /q sitecustomize.py )
39+
if exist sitecustomize.py ( del /q sitecustomize.py )

0 commit comments

Comments
 (0)