##// END OF EJS Templates
only set readline startup hook if available
vivainio -
Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6 6
7 7 This file contains all the classes and helper functions specific to IPython.
8 8
9 $Id: iplib.py 2385 2007-05-24 20:18:08Z vivainio $
9 $Id: iplib.py 2404 2007-05-28 12:57:35Z vivainio $
10 10 """
11 11
12 12 #*****************************************************************************
@@ -1603,8 +1603,10 b' want to merge them back into the new files.""" % locals()'
1603 1603 # Mark activity in the builtins
1604 1604 __builtin__.__dict__['__IPYTHON__active'] += 1
1605 1605
1606 if readline.have_readline:
1607 self.readline_startup_hook(self.pre_readline)
1606 1608 # exit_now is set by a call to %Exit or %Quit
1607 self.readline_startup_hook(self.pre_readline)
1609
1608 1610 while not self.exit_now:
1609 1611 if more:
1610 1612 prompt = self.hooks.generate_prompt(True)
@@ -6,6 +6,11 b''
6 6
7 7 - install pyreadline *package dir* in ipython root directory by running:
8 8
9 svn co http://ipython.scipy.org/svn/ipython/pyreadline/branches/maintenance_1.3/pyreadline/
10 wget http://ipython.scipy.org/svn/ipython/pyreadline/branches/maintenance_1.3/readline.py
11
12 OR (if you want the latest trunk):
13
9 14 svn co http://ipython.scipy.org/svn/ipython/pyreadline/trunk/pyreadline
10 15
11 16 - Create the distribution in 'dist' by running "python exesetup.py py2exe"
General Comments 0
You need to be logged in to leave comments. Login now