]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/b.bat
corrections for Mac OS X Developer Tools
[wxWidgets.git] / wxPython / b.bat
index a6404c9af85eb0ea43b235b1b71d78bd7670096a..90092a1e948a34b00f6d6122a151a0964a1c16c1 100755 (executable)
@@ -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
@@ -30,6 +33,11 @@ elseiff "%1" == "i" then
        shift
        set CMD=%SETUP% build install
 
+rem "r" --> make installer
+elseiff "%1" == "r" then
+       shift
+       set CMD=%PYTHON% distrib\make_installer.py
+
 rem "s" --> source dist
 elseiff "%1" == "s" then
        shift