Mercurial > libervia-backend
diff setup.py @ 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 | 813a869315dc |
children | 2a072735e459 |
line wrap: on
line diff
--- a/setup.py Sat Apr 14 11:09:31 2012 +0200 +++ b/setup.py Sat Apr 14 13:53:55 2012 +0200 @@ -57,6 +57,8 @@ dest_line = 'DAEMON=""\n' #we want to launch sat as a daemon elif ori_line.startswith('TAP_PATH='): dest_line = 'TAP_PATH="%s/"\n' % run_dir + elif ori_line.startswith('PYTHON='): + dest_line = 'PYTHON="%s"\n' % sys.executable else: dest_line = ori_line sh_buffer += dest_line