##// END OF EJS Templates
Update version requirement to 2.5, since that's what we're using anyway....
Update version requirement to 2.5, since that's what we're using anyway. Fixes https://bugs.launchpad.net/ipython/+bug/505090

File last commit:

r2413:c859f8d0
r2413:c859f8d0
Show More
__init__.py
63 lines | 2.1 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
#-----------------------------------------------------------------------------
Fernando Perez
Update version requirement to 2.5, since that's what we're using anyway....
r2413 if sys.version[0:3] < '2.5':
raise ImportError('Python Version 2.5 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
Fernando Perez
Make testing easier by exposing a top-level test() function....
r2397 from IPython.testing import test
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