Changeset 12833


Ignore:
Timestamp:
07/30/12 21:49:33 (13 years ago)
Author:
Mathieu Morlighem
Message:

One script per version, as usual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh

    r12832 r12833  
    1717rm -rf Python-2.7.2
    1818
    19 #Configure doxygen
     19#Configure and compile
    2020cd src
    2121./configure \
    2222 --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks"
    23 
    24 
    25 #make
    2623if [ -z $1 ]; then
    2724        make
     
    3229
    3330cd ../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
     35rm -rf bin
    3436ln -s Library/Frameworks/Python.framework/Headers include
    3537ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
     38ln -s Library/Frameworks/Python.framework/Versions/2.7/bin bin
    3639
    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:
     41cd include
     42patch pyport.h $ISSM_DIR/externalpackages/python/patches/pyport.h.patch
Note: See TracChangeset for help on using the changeset viewer.