/[ascend]/trunk/pygtk/interface/ascend
ViewVC logotype

Annotation of /trunk/pygtk/interface/ascend

Parent Directory Parent Directory | Revision Log Revision Log


Revision 337 - (hide annotations) (download)
Wed Mar 1 00:51:23 2006 UTC (18 years, 4 months ago) by johnpye
File size: 480 byte(s)
Something is starting to run on MinGW now. GUI loads and ascend DLL is opened.
This revision still breaks the linux and Tcl/Tk builds, I expect.
Also added some smarts to the 'help...contents' menu for loading offline/online help files.
1 johnpye 337 #!/bin/sh
2 johnpye 132
3 johnpye 337 if [ "x$ASCENDLIBRARY" = "x" ]; then
4     export ASCENDLIBRARY=~/ascdata:~/src/ascend/trunk/models
5     else
6     echo "USING ASCENDLIBRARY=$ASCENDLIBRARY"
7     fi
8    
9 johnpye 132 args=$@
10    
11 johnpye 190 if [ "$OSTYPE" = "cygwin" ]; then
12     echo "CYGWIN..."
13 johnpye 337 elif [ "$OSTYPE" = "msys" ]; then
14     echo "MSYS..."
15     PYTHON=/c/Python24/python
16 johnpye 190 fi
17    
18 johnpye 132 if [ $ASCEND_GDB ]; then
19     bin="gdb --args python"
20 johnpye 190 elif [ $PYTHON ]; then
21     bin=$PYTHON
22 johnpye 132 else
23     bin=python
24     fi
25    
26     dir=`dirname $0`
27     cmd="$bin $dir/gtkbrowser.py $args"
28    
29     $cmd
30    

Properties

Name Value
svn:executable *

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22