mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 06:43:40 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
14 lines
273 B
Bash
Executable File
14 lines
273 B
Bash
Executable File
#!/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()
|
|
" $@
|
|
|