mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 11:13:46 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
14 lines
483 B
Bash
Executable File
14 lines
483 B
Bash
Executable File
#!/bin/bash
|
|
export PYTHONPATH=@CMAKE_INSTALL_PREFIX@/@TRIQS_PYTHON_LIB_DEST_ROOT@:$PYTHONPATH
|
|
|
|
@PYTHON_INTERPRETER@ -c "
|
|
import sys
|
|
sys.argv.insert(1, 'notebook')
|
|
sys.argv.insert(2, '--pylab=inline')
|
|
sys.argv.insert(3, '--MappingKernelManager.time_to_dead=3600')
|
|
import IPython
|
|
assert IPython.__version__ >= '0.11' , 'ipython version too low: need 0.12 or higher for the notebook'
|
|
from IPython.frontend.terminal.ipapp import launch_new_instance
|
|
sys.exit(launch_new_instance())
|
|
" $@
|