3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 19:23:45 +01:00
dft_tools/shells/ipytriqs_shell.nopypath.bash.in

14 lines
273 B
Bash
Raw Normal View History

#!/bin/bash
@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()
" $@