1@echo off
2rem Used by the buildbot "clean" step.
3
4setlocal
5set root=%~dp0..\..
6set pcbuild=%root%\PCbuild
7
8echo Deleting build
9call "%pcbuild%\build.bat" -t Clean -k %*
10call "%pcbuild%\build.bat" -t Clean -k -d %*
11
12echo Deleting .pyc/.pyo files ...
13del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo"
14
15echo Deleting test leftovers ...
16rmdir /s /q "%root%\build"
17del /s "%pcbuild%\python*.zip"
18