3 #if [[ ! -e ${HOME}/.ipython/ipythonrc-oscopy ]]; then
4 # cp @datarootdir@/oscopy/ipythonrc-oscopy ${HOME}/.ipython
6 #ipython -pylab -profile oscopy -noconfirm_exit -nobanner
8 GETTEXT_DOMAIN
= 'oscopy'
11 import gtk
, gobject
, sys
, os
, shutil
15 gettext
.install(GETTEXT_DOMAIN
,'@datarootdir@/locale',unicode=1)
18 os
.stat(os
.getenv('HOME') + '/.ipython/ipythonrc-oscopy')
20 os
.symlink('@datarootdir@/oscopy/ipythonrc-oscopy', os
.getenv('HOME') + '/.ipython/ipythonrc-oscopy')
28 shell
= IPython
.Shell
.IPShell(argv
=['-profile','oscopy','-noconfirm_exit','-nobanner'])
29 IPython
.Shell
.hijack_gtk()
34 gobject
.idle_add(run_ipython
)
35 gtk
.set_interactive(True)