mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 13:53:40 +01:00
14 lines
354 B
Bash
14 lines
354 B
Bash
|
#!/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()
|
||
|
" $@
|