X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface.bin;h=86ba34644f5a02ac2984d22276f58a6165dfe1e5;hp=f88969d20858c0dd93c91993a50400f7c657f0b1;hb=4ab45a38d53566d12bc64403bf9b7c19108eb286;hpb=d8beeb8ad0c9cf2eab771d68e5006c5bb94d521b diff --git a/sface.bin b/sface.bin index f88969d..86ba346 100755 --- a/sface.bin +++ b/sface.bin @@ -1,4 +1,16 @@ #!/bin/bash -export PYTHONPATH=/opt/local/lib/python2.5/site-packages/ -exec python sface.py +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 "$@" &