##// END OF EJS Templates
Go to interactiveTB when ipy_user_conf or ipy_profile_PROF import ...
Go to interactiveTB when ipy_user_conf or ipy_profile_PROF import fails.

File last commit:

r205:ed111466
r233:dc0b44d5
Show More
ipy_user_conf.py
30 lines | 847 B | text/x-python | PythonLexer
vivainio
config changes
r130 """ User configuration file for IPython
This is a more flexible and safe way to configure ipython than *rc files
(ipythonrc, ipythonrc-pysh etc.)
vivainio
easy_install ipython==dev works correctly now...
r176 This file is always imported on ipython startup. You can import the
vivainio
config changes
r130 ipython extensions you need here (see IPython/Extensions directory).
vivainio
easy_install ipython==dev works correctly now...
r176 Feel free to edit this file to customize your ipython experience.
Note that as such this file does nothing, for backwards compatibility.
vivainio
ipy_sane_defaults
r195 Consult e.g. file 'ipy_profile_sh.py' for an example of the things
you can do here.
vivainio
Changed startup message, and be a bit more conservative with the settings
r131
vivainio
config changes
r130 """
vivainio
Changed startup message, and be a bit more conservative with the settings
r131 # Most of your config files and extensions will probably start with this import
vivainio
config changes
r130
vivainio
ipy_sane_defaults
r195 import IPython.ipapi
ip = IPython.ipapi.get()
vivainio
easy_install ipython==dev works correctly now...
r176
vivainio
%upgrade -nolegacy
r205 # You probably want to uncomment this if you did %upgrade -nolegacy
# import ipy_sane_defaults
vivainio
easy_install ipython==dev works correctly now...
r176 def main():
o = ip.options()
vivainio
ipy_sane_defaults
r195 # An example on how to set options
#o.autocall = 1
vivainio
Made missing ipy_*_conf.py files less intrusive
r134
vivainio
ipy_sane_defaults
r195 main()