##// END OF EJS Templates
Finishing up the wx, qt4 and tk support. Still have to do gtk.
Finishing up the wx, qt4 and tk support. Still have to do gtk.

File last commit:

r2214:9fca2a63
r2214:9fca2a63
Show More
__init__.py
86 lines | 3.2 KiB | text/x-python | PythonLexer
Brian Granger
ColorANSI.py -> utils/coloransi.py and all imports updated.
r2010 # -*- coding: utf-8 -*-
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 """
IPython -- An enhanced Interactive Python
One of Python's nicest features is its interactive interpreter. This allows
very fast testing of ideas without the overhead of creating test files as is
typical in most programming languages. However, the interpreter supplied with
the standard Python distribution is fairly primitive (and IDLE isn't really
much better).
IPython tries to:
i - provide an efficient environment for interactive work in Python
programming. It tries to address what we see as shortcomings of the standard
Python prompt, and adds many features to make interactive work much more
efficient.
ii - offer a flexible framework so that it can be used as the base
environment for other projects and problems where Python can be the
underlying language. Specifically scientific environments like Mathematica,
IDL and Mathcad inspired its design, but similar ideas can be useful in many
fields. Python is a fabulous language for implementing this kind of system
(due to its dynamic and introspective features), and with suitable libraries
entire systems could be built leveraging Python's power.
iii - serve as an embeddable, ready to go interpreter for your own programs.
Fernando Perez
Remove svn-style $Id marks from docstrings and Release imports....
r1853 IPython requires Python 2.4 or newer.
"""
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0
#*****************************************************************************
Fernando Perez
Update copyright/author statements....
r1875 # Copyright (C) 2008-2009 The IPython Development Team
# Copyright (C) 2001-2007 Fernando Perez. <fperez@colorado.edu>
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.
#*****************************************************************************
# Enforce proper version requirements
import sys
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
# 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
vivainio
Moved path to extensions - pickleshare failed because it imported...
r168 import os
Brian Granger
Renaming Extensions=>extensions in code and imports.
r2064 sys.path.append(os.path.join(os.path.dirname(__file__), "extensions"))
fperez
Small fix to sys.argv, match python's default behavior.
r298
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 # Define what gets imported with a 'from IPython import *'
Brian Granger
Release.py => core/release.py and imports updated.
r2043 __all__ = ['IPython.core.ipapi','utils.generics','utils.ipstruct',
Brian Granger
Shell.py => core/shell.py and imports updated.
r2046 'core.release','core.shell']
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0
# Load __all__ in IPython namespace so that a simple 'import IPython' gives
# access to them via IPython.<name>
glob,loc = globals(),locals()
for name in __all__:
Fernando Perez
Mark Python 2.4 as minimum required version.
r1434 #print 'Importing: ',name # dbg
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 __import__(name,glob,loc,[])
Brian Granger
Shell.py => core/shell.py and imports updated.
r2046 from IPython.core import shell
Brian Granger
Fixing imports in __init__.py.
r2074 Shell = shell
from IPython.core import ipapi
from IPython.core import iplib
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,
appstart_qt4, appstart_wx
)
fperez
Reorganized the directory for ipython/ to have its own dir, which is a bit...
r0 # Release data
Brian Granger
Release.py => core/release.py and imports updated.
r2043 from IPython.core import release # do it explicitly so pydoc can see it - pydoc bug
fperez
Simple change to add svn revision info at the top level and crash handler....
r17 __author__ = '%s <%s>\n%s <%s>\n%s <%s>' % \
Brian Granger
Release.py => core/release.py and imports updated.
r2043 ( release.authors['Fernando'] + release.authors['Janko'] + \
release.authors['Nathan'] )
__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
# Namespace cleanup
del name,glob,loc