From: Thierry Parmentelat Date: Fri, 17 Sep 2010 15:04:18 +0000 (+0200) Subject: tweaks - should be callable from anywhere - sfa's PYTHONPATH not managed anymore X-Git-Tag: sface-0.1-1~8^2~1 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=ae4178aa86de12d5ca165da42460f500ba4efba7 tweaks - should be callable from anywhere - sfa's PYTHONPATH not managed anymore --- diff --git a/sface.bin b/sface.bin index 5e7eb2e..86ba346 100755 --- a/sface.bin +++ b/sface.bin @@ -1,10 +1,16 @@ #!/bin/bash -#export PATH=$HOME/stree/sfa//trunk/:$PATH - -PYTHONPATH=/opt/local/lib/python2.5/site-packages/ -PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/:$PYTHONPATH -PYTHONPATH=$HOME/stree/sfa/trunk:$PYTHONPATH +PYTHONPATH=$PYTHONPATH:/opt/local/lib/python2.5/site-packages/ +# thierry : I have this in my .bashrc now +#PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/:$PYTHONPATH +# ditto +#PYTHONPATH=$HOME/stree/sfa/trunk:$PYTHONPATH export PYTHONPATH +echo Using PYTHONPATH=$PYTHONPATH + +sfacedir=$(dirname $0) +cd $sfacedir +echo Running from directory $(pwd) + exec python sface.py "$@" &