Changes for building with Python 2.1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-04-20 00:39:19 +00:00
parent 84d31cc23f
commit c6b4bf32aa

View File

@@ -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