Ignore:
Timestamp:
03/07/12 11:29:52 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

More hacks for cmake to find the correct python.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/fink/orange-gui-hg-py.info

    r10441 r10452  
    7979    %p/bin/python%type_raw[python] setup.py build 
    8080     
    81     # Compile scripts later on assume Python executable is named "python" - so we give them that 
    82     #export PATH=%b:$PATH 
    83     #ln -s %p/bin/python%type_raw[python] python 
    84      
    8581    # To build orangeqt module we need to force cmake to look in 
    8682    # the proper places. 
     
    9086    # And cmake to find PyQt4 
    9187    export PYTHONPATH=%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages/ 
     88     
     89    # Try every thing possible to convince cmake to use our python 
     90    export PATH=%b:$PATH 
     91    ln -s %p/bin/python%type_raw[python] python 
     92    ln -s %p/bin/python%type_raw[python] python%type_raw[python] 
    9293 
    9394    # Finally compile orangeqt  
     
    9899    make VERBOSE=1 
    99100    cd ../../../ 
     101     
     102    # Clean up the python sym links  
     103    rm python 
     104    rm python%type_raw[python] 
    100105     
    101106    # Prepares bundle 
     
    140145    mv Orange/doc/* %i/share/doc/orange-hg-py%type_pkg[python]/ 
    141146 
    142     # Add python version to bin/orange-canvas script 
    143     mv %i/bin/orange-canvas %i/bin/orange-canvas%type_pkg[python] 
     147    # Add python version to bin/orange-canvas script 
     148    mv %i/bin/orange-canvas %i/bin/orange-canvas%type_pkg[python] 
    144149<< 
    145150<< 
Note: See TracChangeset for help on using the changeset viewer.