mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
18 lines
403 B
Batchfile
18 lines
403 B
Batchfile
@echo off
|
|
rem Used by the buildbot "clean" step.
|
|
|
|
setlocal
|
|
set root=%~dp0..\..
|
|
set pcbuild=%root%\PCbuild
|
|
|
|
echo Deleting build
|
|
call "%pcbuild%\build.bat" -t Clean -k %*
|
|
call "%pcbuild%\build.bat" -t Clean -k -d %*
|
|
|
|
echo Deleting .pyc/.pyo files ...
|
|
del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo"
|
|
|
|
echo Deleting test leftovers ...
|
|
rmdir /s /q "%root%\build"
|
|
del /s "%pcbuild%\python*.zip"
|