Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 205acde55e8ed83a46f471b986c436ecbf5ad791 authored by Larry Hastings on 24 May 2015, 00:43:05 UTC
Version bump for 3.5.0b1.
Tip revision: 205acde
clean.bat
@echo off
rem Used by the buildbot "clean" step.

setlocal
set root=%~dp0..\..
set pcbuild=%root%\PCbuild

if "%1" == "x64" (
    set vcvars_target=x86_amd64
    set platform=x64
) else (
    set vcvars_target=x86
    set platform=Win32
)

call "%pcbuild%\env.bat" %vcvars_target%

echo.Attempting to kill Pythons...
msbuild /v:m /nologo /target:KillPython "%pcbuild%\pythoncore.vcxproj" /p:Configuration=Release /p:Platform=%platform% /p:KillPython=true

echo Deleting .pyc/.pyo files ...
del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo"

echo Deleting test leftovers ...
rmdir /s /q "%root%\build"

echo Deleting build
msbuild /v:m /nologo /target:clean "%pcbuild%\pcbuild.proj" /p:Configuration=Release /p:Platform=%platform%
msbuild /v:m /nologo /target:clean "%pcbuild%\pcbuild.proj" /p:Configuration=Debug /p:Platform=%platform%
back to top