Ignore:
Timestamp:
04/11/12 21:15:22 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
2a7fe1765a1e97b2cfc4758a87872340a9fa25bc
Message:

Build orangeqt for macosx bundle.

File:
1 edited

Legend:

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

    r10504 r10782  
    1 #!/bin/bash -e 
     1#!/bin/bash -ev 
    22# 
    33# Build the orange Mac OSX bundle 
     
    3838echo "===============================" 
    3939./bundle-inject-hg.sh https://bitbucket.org/biolab/orange orange $REVISION $REPOS_DIR ${TMP_BUNDLE_DIR}/Orange.app 
     40 
     41echo "Specifically building orangeqt" 
     42CUR_DIR=`pwd` 
     43cd $REPOS_DIR/orange/source/orangeqt 
     44echo "Fixing sip/pyqt configuration" 
     45 
     46APP=${TMP_BUNDLE_DIR}/Orange.app 
     47APP_ESCAPED=`echo ${TMP_BUNDLE_DIR}/Orange.app | sed s/'\/'/'\\\\\/'/g` 
     48sed -i.bak "s/Users.*Orange.app/$APP_ESCAPED/g"  $APP/Contents/Frameworks/Python.framework/Versions/$PY_VER/lib/python$PY_VER/site-packages/PyQt4/pyqtconfig.py 
     49sed -i.bak "s/Users.*Orange.app/$APP_ESCAPED/g"  $APP/Contents/Frameworks/Python.framework/Versions/$PY_VER/lib/python$PY_VER/site-packages/sipconfig.py 
     50export PATH=$APP/Contents/Resources/Qt4/bin:$PATH 
     51$PYTHON setup.py install 
     52cd $CUR_DIR 
    4053 
    4154echo "Checkouting and building bioinformatics addon" 
Note: See TracChangeset for help on using the changeset viewer.