X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e94700456e41f5fcf041cfef8a83d0f296d2062..9bbe7068c4cdeecaf2493385a589e14d43820dcf:/wxPython/b diff --git a/wxPython/b b/wxPython/b index edc916a058..ecad311550 100755 --- a/wxPython/b +++ b/wxPython/b @@ -7,6 +7,8 @@ function getpyver { PYVER=2.0 elif [ "$1" = "21" ]; then PYVER=2.1 + elif [ "$1" = "22" ]; then + PYVER=2.2 else echo You must specify Python version as first parameter. exit @@ -18,9 +20,9 @@ shift python$PYVER -c "import sys;print '\n', sys.version, '\n'" -WXPYVER=`python$PYVER -c "import setup;print setup.VERSION"` + SETUP="python$PYVER -u setup.py" -FLAGS="USE_SWIG=1 IN_CVS_TREE=1" +FLAGS="USE_SWIG=1 IN_CVS_TREE=1" # BUILD_GLCANVAS=0" OTHERFLAGS="" @@ -54,7 +56,7 @@ elif [ "$1" = "s" ]; then # "r" --> rpm dist elif [ "$1" = "r" ]; then - + WXPYVER=`python$PYVER -c "import setup;print setup.VERSION"` for VER in 15 20 21; do getpyver $VER