Ignore:
Timestamp:
03/09/12 16:24:21 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
c44408e81cfc0aec10158eea6d48761586817239
Message:

Make a link to Orange in $APP/Contents/Resources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/bundle-build-hg.sh

    r10487 r10488  
    2828fi 
    2929 
     30#Python interpreter in the bundle 
     31PYTHON=${TMP_BUNDLE_DIR}/Orange.app/Contents/MacOS/python 
     32 
     33#Python version 
     34PY_VER=`$PYTHON -c "import sys; print sys.version[:3]"` 
     35 
    3036echo "Checkouting and building orange" 
    3137echo "===============================" 
     
    5561echo "Removing unnecessary files." 
    5662find $TMP_BUNDLE_DIR \( -name '*~' -or -name '*.bak' -or -name '*.pyc' -or -name '*.pyo' -or -name '*.pyd' \) -exec rm -rf {} ';' 
     63 
     64ln -s ../Frameworks/Python.framework/Versions/Current/lib/python${PY_VER}/site-packages/Orange ${TMP_BUNDLE_DIR}/Orange.app/Contents/Resources/Orange 
    5765 
    5866     
Note: See TracChangeset for help on using the changeset viewer.