4 set FLAGS
=USE_SWIG
=1 IN_CVS_TREE
=1 
   7 rem  Use non-default python? 
   8 iff 
"%1" == "15" .or. 
"%1" == "20" .or. 
"%1" == "21" then 
   9         set PYTHON
=c
:\tools\python
%1%\python.exe
 
  14 set SETUP
=%PYTHON% -u setup.py
 
  17 %PYTHON% -c 
"import sys;print '\n', sys.version, '\n'" 
  23         set CMD=%SETUP% %FLAGS% clean
 
  24         set OTHERCMD
=del wxPython\
*.pyd
 
  26 rem just remove the *.pyd's 
  27 elseiff 
"%1" == "d" then 
  29         set CMD=del wxPython\
*.pyd
 
  32 elseiff 
"%1" == "i" then 
  34         set CMD=%SETUP% build install
 
  36 rem "r" --> make installer 
  37 elseiff 
"%1" == "r" then 
  39         set CMD=%PYTHON% distrib\make_installer.py
 
  41 rem "s" --> source dist 
  42 elseiff 
"%1" == "s" then 
  47 elseiff 
"%1" == "f" then 
  49         set CMD=%SETUP% %FLAGS% FINAL
=1 build_ext 
--inplace 
%1 %2 %3 %4 %5 %6 %7 %8 %9 
  52 elseiff 
"%1" == "h" then 
  54         set CMD=%SETUP% %FLAGS% HYBRID
=1 build_ext 
--inplace 
%1 %2 %3 %4 %5 %6 %7 %8 %9 
  56 rem (no command arg) --> normal build for development 
  58         set CMD=%SETUP% %FLAGS% HYBRID
=0 build_ext 
--inplace 
--debug %1 %2 %3 %4 %5 %6 %7 %8 %9 
  66 iff 
"%OTHERCMD%" != "" then