Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 0d47586d0262a4a2cc2ff855db3b3e9def8fda11 authored by Ned Deily on 19 June 2019, 00:37:44 UTC
3.6.9rc1
Tip revision: 0d47586
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