| Rev | Line | |
|---|
| [13394] | 1 | Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh (revision 12832)
|
|---|
| 4 | +++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/python/install-2.7.2-macosx-lion.sh (revision 12833)
|
|---|
| 5 | @@ -16,13 +16,10 @@
|
|---|
| 6 | mv Python-2.7.2/* src
|
|---|
| 7 | rm -rf Python-2.7.2
|
|---|
| 8 |
|
|---|
| 9 | -#Configure doxygen
|
|---|
| 10 | +#Configure and compile
|
|---|
| 11 | cd src
|
|---|
| 12 | ./configure \
|
|---|
| 13 | --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks"
|
|---|
| 14 | -
|
|---|
| 15 | -
|
|---|
| 16 | -#make
|
|---|
| 17 | if [ -z $1 ]; then
|
|---|
| 18 | make
|
|---|
| 19 | else
|
|---|
| 20 | @@ -31,19 +28,15 @@
|
|---|
| 21 | make install
|
|---|
| 22 |
|
|---|
| 23 | cd ../install
|
|---|
| 24 | +
|
|---|
| 25 | +#get rid of bin, because it's just a copy of
|
|---|
| 26 | +#Library/Frameworks/Python.framework/Versions/2.7/bin, and will not reflect
|
|---|
| 27 | +#new changes being made
|
|---|
| 28 | +rm -rf bin
|
|---|
| 29 | ln -s Library/Frameworks/Python.framework/Headers include
|
|---|
| 30 | ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
|
|---|
| 31 | +ln -s Library/Frameworks/Python.framework/Versions/2.7/bin bin
|
|---|
| 32 |
|
|---|
| 33 | -#Some modifications to be done in case version is 2.7
|
|---|
| 34 | -if [[ $version == "2.7.2" ]]; then
|
|---|
| 35 | - cd ../install
|
|---|
| 36 | - #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
|
|---|
| 37 | - rm -rf bin
|
|---|
| 38 | - ln -s Library/Frameworks/Python.framework/Headers include
|
|---|
| 39 | - ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
|
|---|
| 40 | - ln -s Library/Frameworks/Python.framework/Versions/2.7/bin bin
|
|---|
| 41 | -
|
|---|
| 42 | - #Patch pyport.h:
|
|---|
| 43 | - cd include
|
|---|
| 44 | - patch pyport.h $ISSM_DIR/externalpackages/python/patches/pyport.h.patch
|
|---|
| 45 | -fi
|
|---|
| 46 | +#Patch pyport.h:
|
|---|
| 47 | +cd include
|
|---|
| 48 | +patch pyport.h $ISSM_DIR/externalpackages/python/patches/pyport.h.patch
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.