Mercurial > libervia-backend
comparison src/sat.sh @ 473:a11cde0cdf5b
misc: Make the shell launcher use the same python interpreter than setup.py.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 14 Apr 2012 13:53:55 +0200 |
parents | ac568832a71a |
children | 952322b1d490 |
comparison
equal
deleted
inserted
replaced
472:813a869315dc | 473:a11cde0cdf5b |
---|---|
13 DEBUG="--debug" | 13 DEBUG="--debug" |
14 fi | 14 fi |
15 fi | 15 fi |
16 | 16 |
17 NAME='sat' | 17 NAME='sat' |
18 PYTHON='python' | |
18 | 19 |
19 #We use python to parse config files | 20 #We use python to parse config files |
20 eval `python<<PYTHONEND | 21 eval `"$PYTHON" << PYTHONEND |
21 from ConfigParser import SafeConfigParser | 22 from ConfigParser import SafeConfigParser |
22 from os.path import expanduser, join | 23 from os.path import expanduser, join |
23 import sys | 24 import sys |
24 | 25 |
25 config = SafeConfigParser(defaults={'local_dir':'~/.sat', | 26 config = SafeConfigParser(defaults={'local_dir':'~/.sat', |