rem Use non-default python?
-iff "%1" == "15" .or. "%1" == "20" then
+iff "%1" == "15" .or. "%1" == "20" .or. "%1" == "21" then
set SETUP=c:\tools\python%1%\python.exe -u setup.py
shift
else
shift
set CMD=%SETUP% %FLAGS% FINAL=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
+rem "h" --> HYBRID
+elseiff "%1" == "h" then
+ shift
+ set CMD=%SETUP% %FLAGS% HYBRID=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
+
rem (no command arg) --> normal build for development
else
- set CMD=%SETUP% %FLAGS% HYBRID=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
+ set CMD=%SETUP% %FLAGS% HYBRID=0 build_ext --inplace --debug %1 %2 %3 %4 %5 %6 %7 %8 %9
endiff