Index: /issm/trunk-jpl/externalpackages/python/install-2.7.2-linux64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-2.7.2-linux64.sh	(revision 12735)
+++ /issm/trunk-jpl/externalpackages/python/install-2.7.2-linux64.sh	(revision 12735)
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install src
+rm -rf Python-2.7.2
+mkdir install src
+
+#Download from ISSM server
+$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-2.7.2.tgz Python-2.7.2.tgz
+
+#exports
+export CC
+
+#Untar and move python into install directory
+tar -zxvf  Python-2.7.2.tgz
+mv Python-2.7.2/* src
+rm -rf Python-2.7.2
+
+#Configure python
+cd src 
+./configure \
+ --prefix="$ISSM_DIR/externalpackages/python/install" \
+ --enable-shared
+
+if [ -z $1 ]; then
+	make
+else
+	make -j $1
+fi
+make install
+
+cd ../install/include
+cp python2.7/* ./
+cd ../lib
+ln -s  libpython2.7.so.1.0 libpython.so
Index: /issm/trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh	(revision 12735)
+++ /issm/trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh	(revision 12735)
@@ -0,0 +1,41 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install src
+rm -rf Python-2.7.2
+mkdir install src
+
+#Download from ISSM server
+$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-2.7.2.tgz Python-2.7.2.tgz
+
+#exports
+export CC
+
+#Untar and move python into install directory
+tar -zxvf  Python-2.7.2.tgz
+mv Python-2.7.2/* src
+rm -rf Python-2.7.2
+
+#Configure doxygen
+cd src 
+./configure \
+ --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 
+
+#obsolete? 
+#./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-framework="$ISSM_DIR/externalpackages/python/install"
+
+#make
+if [ -z $1 ]; then
+	make
+else
+	make -j $1
+fi
+make install
+
+cd ../install
+ln -s Library/Frameworks/Python.framework/Headers include
+ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
+
+#Patch pyport.h:
+cd include
+patch pyport.h ../patch/pyport.h.patch
Index: /issm/trunk-jpl/externalpackages/python/install-2.7.2-macosx-snowleopard.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-2.7.2-macosx-snowleopard.sh	(revision 12735)
+++ /issm/trunk-jpl/externalpackages/python/install-2.7.2-macosx-snowleopard.sh	(revision 12735)
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install src
+rm -rf Python-2.7.2
+mkdir install src
+
+#Download from ISSM server
+$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-2.7.2.tgz Python-2.7.2.tgz
+
+#exports
+export CC
+export MACOSX_DEPLOYMENT_TARGET=10.6
+
+#Untar and move python into install directory
+tar -zxvf  Python-2.7.2.tgz
+mv Python-2.7.2/* src
+rm -rf Python-2.7.2
+
+#Configure doxygen
+cd src 
+# --enable-framework needs to have the form "$SOME_PATH/Library/Frameworks" to avoid installing components in /Applications directory
+# --prefix is recognized as $SOME_PATH as long as this form is taken, so it's not necessary to include
+./configure --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 
+
+#make
+if [ -z $1 ]; then
+	make
+else
+	make -j $1
+fi
+make install
+
+cd ../install
+ln -s Library/Frameworks/Python.framework/Headers include
+ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
+
+#Patch pyport.h:
+cd include
+patch pyport.h ../patch/pyport.h.patch
Index: /issm/trunk-jpl/externalpackages/python/install-3.2.2-linux64.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-3.2.2-linux64.sh	(revision 12735)
+++ /issm/trunk-jpl/externalpackages/python/install-3.2.2-linux64.sh	(revision 12735)
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install src
+rm -rf Python-3.2.2
+mkdir install src
+
+#Download from ISSM server
+$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-3.2.2.tgz Python-3.2.2.tgz
+
+#exports
+export CC
+
+#Untar and move python into install directory
+tar -zxvf  Python-3.2.2.tgz
+mv Python-3.2.2/* src
+rm -rf Python-3.2.2
+
+#Configure python
+cd src 
+./configure \
+ --prefix="$ISSM_DIR/externalpackages/python/install" \
+ --enable-shared
+
+if [ -z $1 ]; then
+	make
+else
+	make -j $1
+fi
+make install
+
+cd ../install/bin
+ln -s python3.2 python 
+cd ../
+ln -s Python.framework/Versions/3.2/include/python3.2m include
+ln -s Python.framework/Versions/3.2/lib/ lib
Index: /issm/trunk-jpl/externalpackages/python/install-3.2.2-macosx-lion.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-3.2.2-macosx-lion.sh	(revision 12735)
+++ /issm/trunk-jpl/externalpackages/python/install-3.2.2-macosx-lion.sh	(revision 12735)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install src
+rm -rf Python-3.2.2
+mkdir install src
+
+#Download from ISSM server
+$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-3.2.2.tgz Python-3.2.2.tgz
+
+#exports
+export CC
+
+#Untar and move python into install directory
+tar -zxvf  Python-3.2.2.tgz
+mv Python-3.2.2/* src
+rm -rf Python-3.2.2
+
+#Configure doxygen
+cd src 
+./configure \
+ --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 
+
+#obsolete? 
+#./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-framework="$ISSM_DIR/externalpackages/python/install"
+
+#make
+if [ -z $1 ]; then
+	make
+else
+	make -j $1
+fi
+make install
+
+cd install/bin
+ln -s python3.2 python 
+cd ../
+ln -s Python.framework/Versions/3.2/include/python3.2m include
+ln -s Python.framework/Versions/3.2/lib/ lib
Index: /issm/trunk-jpl/externalpackages/python/install-3.2.2-macosx-snowleopard.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-3.2.2-macosx-snowleopard.sh	(revision 12735)
+++ /issm/trunk-jpl/externalpackages/python/install-3.2.2-macosx-snowleopard.sh	(revision 12735)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+#Some cleanup
+rm -rf install src
+rm -rf Python-3.2.2
+mkdir install src
+
+#Download from ISSM server
+$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-3.2.2.tgz Python-3.2.2.tgz
+
+#exports
+export CC
+export MACOSX_DEPLOYMENT_TARGET=10.6
+
+#Untar and move python into install directory
+tar -zxvf  Python-3.2.2.tgz
+mv Python-3.2.2/* src
+rm -rf Python-3.2.2
+
+#Configure doxygen
+cd src 
+# --enable-framework needs to have the form "$SOME_PATH/Library/Frameworks" to avoid installing components in /Applications directory
+# --prefix is recognized as $SOME_PATH as long as this form is taken, so it's not necessary to include
+./configure \
+ --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 
+
+#make
+if [ -z $1 ]; then
+	make
+else
+	make -j $1
+fi
+make install
+
+cd install/bin
+ln -s python3.2 python 
+cd ../
+ln -s Python.framework/Versions/3.2/include/python3.2m include
+ln -s Python.framework/Versions/3.2/lib/ lib
Index: sm/trunk-jpl/externalpackages/python/install-linux64-astrid.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-linux64-astrid.sh	(revision 12734)
+++ 	(revision )
@@ -1,48 +1,0 @@
-#!/bin/bash
-#wget http://python.org/ftp/python/version/Python-version.tgz
-
-#version=3.2.2
-version=2.7.2
-
-#Some cleanup
-rm -rf install src
-rm -rf Python-$version
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-$version.tgz Python-$version.tgz
-
-#exports
-export CC
-
-#Untar and move python into install directory
-tar -zxvf  Python-$version.tgz
-mv Python-$version/* src
-rm -rf Python-$version
-
-#Configure python
-cd src 
-./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-shared
-
-if [ -z $1 ]; then
-	make
-else
-	make -j $1
-fi
-make install
-
-#Some modifications to be done in case version is 3.2: 
-if [[ $version == "3.2.2" ]]; then 
-	cd ../install/bin
-	ln -s python3.2 python 
-	cd ../
-	ln -s Python.framework/Versions/3.2/include/python3.2m include
-	ln -s Python.framework/Versions/3.2/lib/ lib
-fi
-if [[ $version == "2.7.2" ]]; then 
-	cd ../install/include
-	cp python2.7/* ./
-	cd ../lib
-	ln -s  libpython2.7.so.1.0 libpython.so
-	
-fi
Index: sm/trunk-jpl/externalpackages/python/install-macosx-lion.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-macosx-lion.sh	(revision 12734)
+++ 	(revision )
@@ -1,54 +1,0 @@
-#!/bin/bash
-#wget http://python.org/ftp/python/version/Python-version.tgz
-#version=3.2.2
-version=2.7.2
-
-#Some cleanup
-rm -rf install src
-rm -rf Python-$version
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-$version.tgz Python-$version.tgz
-
-#exports
-export CC
-
-#Untar and move python into install directory
-tar -zxvf  Python-$version.tgz
-mv Python-$version/* src
-rm -rf Python-$version
-
-#Configure doxygen
-cd src 
-./configure --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 
-#obsolete? 
-#./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-framework="$ISSM_DIR/externalpackages/python/install"
-
-#make
-if [ -z $1 ]; then
-	make
-else
-	make -j $1
-fi
-make install
-
-#Some modifications to be done in case version is 3.2: 
-if [[ $version == "3.2.2" ]]; then 
-	cd install/bin
-	ln -s python3.2 python 
-	cd ../
-	ln -s Python.framework/Versions/3.2/include/python3.2m include
-	ln -s Python.framework/Versions/3.2/lib/ lib
-fi
-
-#Some modifications to be done in case version is 2.7
-if [[ $version == "2.7.2" ]]; then 
-	cd ../install
-	ln -s Library/Frameworks/Python.framework/Headers include
-	ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
-
-	#Patch pyport.h:
-	cd include
-	patch pyport.h ../patch/pyport.h.patch
-fi
Index: sm/trunk-jpl/externalpackages/python/install-macosx-snowleopard.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/python/install-macosx-snowleopard.sh	(revision 12734)
+++ 	(revision )
@@ -1,56 +1,0 @@
-#!/bin/bash
-#wget http://python.org/ftp/python/version/Python-version.tgz
-
-#version=3.2.2
-version=2.7.2
-
-#Some cleanup
-rm -rf install src
-rm -rf Python-$version
-mkdir install src
-
-#Download from ISSM server
-$ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-$version.tgz Python-$version.tgz
-
-#exports
-export CC
-export MACOSX_DEPLOYMENT_TARGET=10.6
-
-#Untar and move python into install directory
-tar -zxvf  Python-$version.tgz
-mv Python-$version/* src
-rm -rf Python-$version
-
-#Configure doxygen
-cd src 
-# --enable-framework needs to have the form "$SOME_PATH/Library/Frameworks" to avoid installing components in /Applications directory
-# --prefix is recognized as $SOME_PATH as long as this form is taken, so it's not necessary to include
-./configure --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 
-
-#make
-if [ -z $1 ]; then
-	make
-else
-	make -j $1
-fi
-make install
-
-#Some modifications to be done in case version is 3.2: 
-if [[ $version == "3.2.2" ]]; then 
-	cd install/bin
-	ln -s python3.2 python 
-	cd ../
-	ln -s Python.framework/Versions/3.2/include/python3.2m include
-	ln -s Python.framework/Versions/3.2/lib/ lib
-fi
-
-#Some modifications to be done in case version is 2.7
-if [[ $version == "2.7.2" ]]; then 
-	cd ../install
-	ln -s Library/Frameworks/Python.framework/Headers include
-	ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
-	
-	#Patch pyport.h:
-	cd include
-	patch pyport.h ../patch/pyport.h.patch
-fi
