Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 23f4589b4b7c4a51950a87175ce7fb31b89c8532 authored by Ɓukasz Langa on 25 February 2019, 12:08:32 UTC
v3.8.0a2
Tip revision: 23f4589
clean.bat
@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"
back to top