python$PYVER -c "import sys;print '\n', sys.version, '\n'"
-WXPYVER=`python -c "import setup;print setup.VERSION"`
+WXPYVER=`python$PYVER -c "import setup;print setup.VERSION"`
SETUP="python$PYVER -u setup.py"
FLAGS="USE_SWIG=1 IN_CVS_TREE=1"
OTHERFLAGS=""
exit 0
+# "f" --> FINAL (no debug)
+elif [ "$1" = "f" ]; then
+ shift
+ CMD="$SETUP $FLAGS $OTHERFLAGS build_ext --inplace $*"
+
# (no command arg) --> normal build for development
else
- CMD="$SETUP $FLAGS $OTHERFLAGS build_ext --inplace $*"
+ CMD="$SETUP $FLAGS $OTHERFLAGS build_ext --inplace --debug $*"
fi