##// END OF EJS Templates
Cleaner access to log call....
Cleaner access to log call. At least now we're not walking the component tree manually... A bigger refactor is still needed here, but this code is less brittle than multiple .parent access.

File last commit:

r2226:7053ea2c
r2383:48d63c68
Show More
__init__.py
64 lines | 2.0 KiB | text/x-python | PythonLexer
Brian Granger
Continuing a massive refactor of everything.
r2205 #!/usr/bin/env python
# encoding: utf-8
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 """
Brian Granger
Continuing a massive refactor of everything.
r2205 IPython.
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0
Brian Granger
Continuing a massive refactor of everything.
r2205 IPython is a set of tools for interactive and exploratory computing in Python.
Fernando Perez
Remove svn-style $Id marks from docstrings and Release imports....
r1853 """
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0
Brian Granger
Continuing a massive refactor of everything.
r2205 #-----------------------------------------------------------------------------
# Copyright (C) 2008-2009 The IPython Development Team
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
Brian Granger
Continuing a massive refactor of everything.
r2205 #-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0
Brian Granger
Continuing a massive refactor of everything.
r2205 import os
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 import sys
Brian Granger
Continuing a massive refactor of everything.
r2205 from IPython.core import release
#-----------------------------------------------------------------------------
# Setup everything
#-----------------------------------------------------------------------------
vivainio
Moved path to extensions - pickleshare failed because it imported...
r168
Fernando Perez
Mark Python 2.4 as minimum required version.
r1434 if sys.version[0:3] < '2.4':
raise ImportError('Python Version 2.4 or above is required for IPython.')
vivainio
Moved path to extensions - pickleshare failed because it imported...
r168
Brian Granger
Continuing a massive refactor of everything.
r2205
vivainio
Moved path to extensions - pickleshare failed because it imported...
r168 # Make it easy to import extensions - they are always directly on pythonpath.
Brian Granger
Renaming Extensions=>extensions in code and imports.
r2064 # Therefore, non-IPython modules can be added to extensions directory
sys.path.append(os.path.join(os.path.dirname(__file__), "extensions"))
fperez
Small fix to sys.argv, match python's default behavior.
r298
Brian Granger
Merging upstream changes from inputhook and config-refactor....
r2224 #-----------------------------------------------------------------------------
# Setup the top level names
#-----------------------------------------------------------------------------
vivainio
corrected some problematic module interdependencies
r695
Brian Granger
Cleaned up embedded shell and added cleanup method to InteractiveShell....
r2226 # In some cases, these are causing circular imports.
Brian Granger
Merging upstream changes from inputhook and config-refactor....
r2224 from IPython.core.iplib import InteractiveShell
Brian Granger
Cleaned up embedded shell and added cleanup method to InteractiveShell....
r2226 from IPython.core.embed import embed
Brian Granger
Merging upstream changes from inputhook and config-refactor....
r2224 from IPython.core.error import TryNext
vivainio
corrected some problematic module interdependencies
r695
Brian Granger
Finishing up the wx, qt4 and tk support. Still have to do gtk.
r2214 from IPython.lib import (
enable_wx, disable_wx,
enable_gtk, disable_gtk,
enable_qt4, disable_qt4,
enable_tk, disable_tk,
set_inputhook, clear_inputhook,
current_gui, spin,
Brian Granger
More work on the Tk and GTK gui integration.
r2216 appstart_qt4, appstart_wx,
appstart_gtk, appstart_tk
Brian Granger
Finishing up the wx, qt4 and tk support. Still have to do gtk.
r2214 )
Brian Granger
Continuing a massive refactor of everything.
r2205
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 # Release data
Brian Granger
Continuing a massive refactor of everything.
r2205 __author__ = ''
for author, email in release.authors.values():
__author__ += author + ' <' + email + '>\n'
Brian Granger
Release.py => core/release.py and imports updated.
r2043 __license__ = release.license
__version__ = release.version
__revision__ = release.revision
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0