From eb2411ad720371596571fb857e5a0d68df41c1e2 2007-05-16 20:26:30 From: vivainio Date: 2007-05-16 20:26:30 Subject: [PATCH] created new sci profile, a modernized version of scipy --- diff --git a/IPython/UserConfig/ipy_profile_sci.py b/IPython/UserConfig/ipy_profile_sci.py new file mode 100644 index 0000000..eecf253 --- /dev/null +++ b/IPython/UserConfig/ipy_profile_sci.py @@ -0,0 +1,18 @@ +import ipy_defaults +# import ... +# Load Numpy an SciPy by themselves so that 'help' works on them + +import IPython.ipapi +import ipy_defaults + +def main(): + ip = IPython.ipapi.get() + + ip.ex("import scipy") + ip.ex("import numpy") + + ip.ex("from scipy import *") + ip.ex("from numpy import *") + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/scripts/ipython_win_post_install.py b/scripts/ipython_win_post_install.py index 248df5c..0a182c6 100755 --- a/scripts/ipython_win_post_install.py +++ b/scripts/ipython_win_post_install.py @@ -55,7 +55,7 @@ def install(): mkshortcut(python,'IPython command prompt mode',f,a) f = ip_dir + r'\scipy.lnk' - a = prefix + r'\scripts\ipython -pylab -p scipy' + a = prefix + r'\scripts\ipython -pylab -p sci' mkshortcut(python,'IPython scipy profile',f,a) # Create documentation shortcuts ...