source:
issm/oecreview/Archive/12678-13393/ISSM-12832-12833.diff@
13394
Last change on this file since 13394 was 13394, checked in by , 13 years ago | |
---|---|
File size: 1.7 KB |
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh
16 16 mv Python-2.7.2/* src 17 17 rm -rf Python-2.7.2 18 18 19 #Configure doxygen19 #Configure and compile 20 20 cd src 21 21 ./configure \ 22 22 --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks" 23 24 25 #make26 23 if [ -z $1 ]; then 27 24 make 28 25 else … … 31 28 make install 32 29 33 30 cd ../install 31 32 #get rid of bin, because it's just a copy of 33 #Library/Frameworks/Python.framework/Versions/2.7/bin, and will not reflect 34 #new changes being made 35 rm -rf bin 34 36 ln -s Library/Frameworks/Python.framework/Headers include 35 37 ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib 38 ln -s Library/Frameworks/Python.framework/Versions/2.7/bin bin 36 39 37 #Some modifications to be done in case version is 2.7 38 if [[ $version == "2.7.2" ]]; then 39 cd ../install 40 #get rid of bin, because it's just a copy of Library/Frameworks/Python.framework/Versions/2.7/bin, and will not reflect new changes being made 41 rm -rf bin 42 ln -s Library/Frameworks/Python.framework/Headers include 43 ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib 44 ln -s Library/Frameworks/Python.framework/Versions/2.7/bin bin 45 46 #Patch pyport.h: 47 cd include 48 patch pyport.h $ISSM_DIR/externalpackages/python/patches/pyport.h.patch 49 fi 40 #Patch pyport.h: 41 cd include 42 patch pyport.h $ISSM_DIR/externalpackages/python/patches/pyport.h.patch
Note:
See TracBrowser
for help on using the repository browser.