source:
issm/oecreview/Archive/12678-13393/ISSM-12734-12735.diff@
14312
Last change on this file since 14312 was 13394, checked in by , 13 years ago | |
---|---|
File size: 14.6 KB |
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-macosx-snowleopard.sh
1 #!/bin/bash2 #wget http://python.org/ftp/python/version/Python-version.tgz3 4 #version=3.2.25 version=2.7.26 7 #Some cleanup8 rm -rf install src9 rm -rf Python-$version10 mkdir install src11 12 #Download from ISSM server13 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-$version.tgz Python-$version.tgz14 15 #exports16 export CC17 export MACOSX_DEPLOYMENT_TARGET=10.618 19 #Untar and move python into install directory20 tar -zxvf Python-$version.tgz21 mv Python-$version/* src22 rm -rf Python-$version23 24 #Configure doxygen25 cd src26 # --enable-framework needs to have the form "$SOME_PATH/Library/Frameworks" to avoid installing components in /Applications directory27 # --prefix is recognized as $SOME_PATH as long as this form is taken, so it's not necessary to include28 ./configure --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks"29 30 #make31 if [ -z $1 ]; then32 make33 else34 make -j $135 fi36 make install37 38 #Some modifications to be done in case version is 3.2:39 if [[ $version == "3.2.2" ]]; then40 cd install/bin41 ln -s python3.2 python42 cd ../43 ln -s Python.framework/Versions/3.2/include/python3.2m include44 ln -s Python.framework/Versions/3.2/lib/ lib45 fi46 47 #Some modifications to be done in case version is 2.748 if [[ $version == "2.7.2" ]]; then49 cd ../install50 ln -s Library/Frameworks/Python.framework/Headers include51 ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib52 53 #Patch pyport.h:54 cd include55 patch pyport.h ../patch/pyport.h.patch56 fi -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-macosx-lion.sh
1 #!/bin/bash2 #wget http://python.org/ftp/python/version/Python-version.tgz3 #version=3.2.24 version=2.7.25 6 #Some cleanup7 rm -rf install src8 rm -rf Python-$version9 mkdir install src10 11 #Download from ISSM server12 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-$version.tgz Python-$version.tgz13 14 #exports15 export CC16 17 #Untar and move python into install directory18 tar -zxvf Python-$version.tgz19 mv Python-$version/* src20 rm -rf Python-$version21 22 #Configure doxygen23 cd src24 ./configure --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks"25 #obsolete?26 #./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-framework="$ISSM_DIR/externalpackages/python/install"27 28 #make29 if [ -z $1 ]; then30 make31 else32 make -j $133 fi34 make install35 36 #Some modifications to be done in case version is 3.2:37 if [[ $version == "3.2.2" ]]; then38 cd install/bin39 ln -s python3.2 python40 cd ../41 ln -s Python.framework/Versions/3.2/include/python3.2m include42 ln -s Python.framework/Versions/3.2/lib/ lib43 fi44 45 #Some modifications to be done in case version is 2.746 if [[ $version == "2.7.2" ]]; then47 cd ../install48 ln -s Library/Frameworks/Python.framework/Headers include49 ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib50 51 #Patch pyport.h:52 cd include53 patch pyport.h ../patch/pyport.h.patch54 fi -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-linux64-astrid.sh
1 #!/bin/bash2 #wget http://python.org/ftp/python/version/Python-version.tgz3 4 #version=3.2.25 version=2.7.26 7 #Some cleanup8 rm -rf install src9 rm -rf Python-$version10 mkdir install src11 12 #Download from ISSM server13 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-$version.tgz Python-$version.tgz14 15 #exports16 export CC17 18 #Untar and move python into install directory19 tar -zxvf Python-$version.tgz20 mv Python-$version/* src21 rm -rf Python-$version22 23 #Configure python24 cd src25 ./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-shared26 27 if [ -z $1 ]; then28 make29 else30 make -j $131 fi32 make install33 34 #Some modifications to be done in case version is 3.2:35 if [[ $version == "3.2.2" ]]; then36 cd ../install/bin37 ln -s python3.2 python38 cd ../39 ln -s Python.framework/Versions/3.2/include/python3.2m include40 ln -s Python.framework/Versions/3.2/lib/ lib41 fi42 if [[ $version == "2.7.2" ]]; then43 cd ../install/include44 cp python2.7/* ./45 cd ../lib46 ln -s libpython2.7.so.1.0 libpython.so47 48 fi -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-3.2.2-macosx-snowleopard.sh
1 #!/bin/bash 2 3 #Some cleanup 4 rm -rf install src 5 rm -rf Python-3.2.2 6 mkdir install src 7 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-3.2.2.tgz Python-3.2.2.tgz 10 11 #exports 12 export CC 13 export MACOSX_DEPLOYMENT_TARGET=10.6 14 15 #Untar and move python into install directory 16 tar -zxvf Python-3.2.2.tgz 17 mv Python-3.2.2/* src 18 rm -rf Python-3.2.2 19 20 #Configure doxygen 21 cd src 22 # --enable-framework needs to have the form "$SOME_PATH/Library/Frameworks" to avoid installing components in /Applications directory 23 # --prefix is recognized as $SOME_PATH as long as this form is taken, so it's not necessary to include 24 ./configure \ 25 --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 26 27 #make 28 if [ -z $1 ]; then 29 make 30 else 31 make -j $1 32 fi 33 make install 34 35 cd install/bin 36 ln -s python3.2 python 37 cd ../ 38 ln -s Python.framework/Versions/3.2/include/python3.2m include 39 ln -s Python.framework/Versions/3.2/lib/ lib -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-macosx-snowleopard.sh
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-3.2.2-macosx-snowleopard.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +*
1 #!/bin/bash 2 3 #Some cleanup 4 rm -rf install src 5 rm -rf Python-2.7.2 6 mkdir install src 7 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-2.7.2.tgz Python-2.7.2.tgz 10 11 #exports 12 export CC 13 export MACOSX_DEPLOYMENT_TARGET=10.6 14 15 #Untar and move python into install directory 16 tar -zxvf Python-2.7.2.tgz 17 mv Python-2.7.2/* src 18 rm -rf Python-2.7.2 19 20 #Configure doxygen 21 cd src 22 # --enable-framework needs to have the form "$SOME_PATH/Library/Frameworks" to avoid installing components in /Applications directory 23 # --prefix is recognized as $SOME_PATH as long as this form is taken, so it's not necessary to include 24 ./configure --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 25 26 #make 27 if [ -z $1 ]; then 28 make 29 else 30 make -j $1 31 fi 32 make install 33 34 cd ../install 35 ln -s Library/Frameworks/Python.framework/Headers include 36 ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib 37 38 #Patch pyport.h: 39 cd include 40 patch pyport.h ../patch/pyport.h.patch -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-3.2.2-linux64.sh
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-macosx-snowleopard.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +*
1 #!/bin/bash 2 3 #Some cleanup 4 rm -rf install src 5 rm -rf Python-3.2.2 6 mkdir install src 7 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-3.2.2.tgz Python-3.2.2.tgz 10 11 #exports 12 export CC 13 14 #Untar and move python into install directory 15 tar -zxvf Python-3.2.2.tgz 16 mv Python-3.2.2/* src 17 rm -rf Python-3.2.2 18 19 #Configure python 20 cd src 21 ./configure \ 22 --prefix="$ISSM_DIR/externalpackages/python/install" \ 23 --enable-shared 24 25 if [ -z $1 ]; then 26 make 27 else 28 make -j $1 29 fi 30 make install 31 32 cd ../install/bin 33 ln -s python3.2 python 34 cd ../ 35 ln -s Python.framework/Versions/3.2/include/python3.2m include 36 ln -s Python.framework/Versions/3.2/lib/ lib -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-3.2.2-macosx-lion.sh
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-3.2.2-linux64.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +*
1 #!/bin/bash 2 3 #Some cleanup 4 rm -rf install src 5 rm -rf Python-3.2.2 6 mkdir install src 7 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-3.2.2.tgz Python-3.2.2.tgz 10 11 #exports 12 export CC 13 14 #Untar and move python into install directory 15 tar -zxvf Python-3.2.2.tgz 16 mv Python-3.2.2/* src 17 rm -rf Python-3.2.2 18 19 #Configure doxygen 20 cd src 21 ./configure \ 22 --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 23 24 #obsolete? 25 #./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-framework="$ISSM_DIR/externalpackages/python/install" 26 27 #make 28 if [ -z $1 ]; then 29 make 30 else 31 make -j $1 32 fi 33 make install 34 35 cd install/bin 36 ln -s python3.2 python 37 cd ../ 38 ln -s Python.framework/Versions/3.2/include/python3.2m include 39 ln -s Python.framework/Versions/3.2/lib/ lib -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-linux64.sh
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-3.2.2-macosx-lion.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +*
1 #!/bin/bash 2 3 #Some cleanup 4 rm -rf install src 5 rm -rf Python-2.7.2 6 mkdir install src 7 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-2.7.2.tgz Python-2.7.2.tgz 10 11 #exports 12 export CC 13 14 #Untar and move python into install directory 15 tar -zxvf Python-2.7.2.tgz 16 mv Python-2.7.2/* src 17 rm -rf Python-2.7.2 18 19 #Configure python 20 cd src 21 ./configure \ 22 --prefix="$ISSM_DIR/externalpackages/python/install" \ 23 --enable-shared 24 25 if [ -z $1 ]; then 26 make 27 else 28 make -j $1 29 fi 30 make install 31 32 cd ../install/include 33 cp python2.7/* ./ 34 cd ../lib 35 ln -s libpython2.7.so.1.0 libpython.so -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-linux64.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +*
1 #!/bin/bash 2 3 #Some cleanup 4 rm -rf install src 5 rm -rf Python-2.7.2 6 mkdir install src 7 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py http://issm.jpl.nasa.gov/files/externalpackages/Python-2.7.2.tgz Python-2.7.2.tgz 10 11 #exports 12 export CC 13 14 #Untar and move python into install directory 15 tar -zxvf Python-2.7.2.tgz 16 mv Python-2.7.2/* src 17 rm -rf Python-2.7.2 18 19 #Configure doxygen 20 cd src 21 ./configure \ 22 --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 23 24 #obsolete? 25 #./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-framework="$ISSM_DIR/externalpackages/python/install" 26 27 #make 28 if [ -z $1 ]; then 29 make 30 else 31 make -j $1 32 fi 33 make install 34 35 cd ../install 36 ln -s Library/Frameworks/Python.framework/Headers include 37 ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib 38 39 #Patch pyport.h: 40 cd include 41 patch pyport.h ../patch/pyport.h.patch
Note:
See TracBrowser
for help on using the repository browser.