From: Robin Dunn Date: Fri, 20 Apr 2001 00:39:19 +0000 (+0000) Subject: Changes for building with Python 2.1 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c6b4bf32aa255ffec7401c9634f94faf325ab1d7 Changes for building with Python 2.1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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