3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 11:13:46 +01:00
dft_tools/shells/ipytriqs_shell.bash.in
Olivier Parcollet f2c7d449cc First commit : triqs libs version 1.0 alpha1
for earlier commits, see TRIQS0.x repository.
2013-07-17 19:24:07 +02:00

14 lines
354 B
Bash
Executable File

#!/bin/bash
export PYTHONPATH=@CMAKE_INSTALL_PREFIX@/@TRIQS_PYTHON_LIB_DEST_ROOT@:$PYTHONPATH
@PYTHON_INTERPRETER@ -c "
import sys
import IPython
if IPython.__version__ >= '0.11' :
from IPython.frontend.terminal.ipapp import launch_new_instance
sys.exit(launch_new_instance())
else:
import IPython.Shell
IPython.Shell.start().mainloop()
" $@