[Bio] / ModelEditor / ModelEditor Repository:
ViewVC logotype

Diff of /ModelEditor/ModelEditor

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10, Fri Mar 11 21:33:13 2005 UTC revision 1.11, Fri Apr 22 15:14:03 2005 UTC
# Line 5  Line 5 
5    
6    
7  if [ .${RTARCH} = .mac ]; then  if [ .${RTARCH} = .mac ]; then
8    
9        # on mac, must use system python and distributed wxPython.  have
10        # not been able to build succesfully ourselves.  but in Seed envrionment,
11        # python must be rebuilt to get bob's callPerl to work.  So in Seed
12        # environment, paths etc., are setup to use Seeds own build of py,
13        # which breaks wxPy which breaks the ModelEditor (but not Kah in total)
14        # So, in Seed env, there's a separate install of our external dependencies
15        # and there's an executable, mac_wx_workaround, that points to that
16        # area.  By modifying python path with that, we can call the system
17        # python to  launch wxPy applications.  Do that dance here:
18    
19        if [ -f $RTROOT/env/mac/bin/mac_wx_workaround ]; then
20           a=`mac_wx_workaround`
21           set $a
22           sysPyDir=$1
23           sysPyLib=$2
24           echo Using mac wxPy workaround via $sysPyLib
25    
26           export PYTHONPATH=${sysPyLib}:$PYTHONPATH
27        fi
28    
29     pythonw `which ModelEditorExe`     pythonw `which ModelEditorExe`
30  else  else
31     python `which ModelEditorExe`     python `which ModelEditorExe`

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3