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