diff --git a/wxPython/b.bat b/wxPython/b.bat index a6404c9af8..afe0718200 100755 --- a/wxPython/b.bat +++ b/wxPython/b.bat @@ -6,13 +6,16 @@ set FLAGS=USE_SWIG=1 IN_CVS_TREE=1 rem Use non-default python? iff "%1" == "15" .or. "%1" == "20" .or. "%1" == "21" then - set SETUP=c:\tools\python%1%\python.exe -u setup.py + set PYTHON=c:\tools\python%1%\python.exe shift else - set SETUP=python -u setup.py + set PYTHON=python endiff +set SETUP=%PYTHON% -u setup.py +%PYTHON% -c "import sys;print '\n', sys.version, '\n'" + rem "c" --> clean iff "%1" == "c" then