##// END OF EJS Templates
Jorgen's fix for allowing configuration of pyreadline
vivainio -
Show More
@@ -15,10 +15,15 b' have_readline = False'
15
15
16 if sys.platform == 'win32':
16 if sys.platform == 'win32':
17 try:
17 try:
18 from pyreadline import *
18 import pyreadline.rlmain
19 #add config for inputrcpath here:
20 #pyreadline.rlmain.config_path="c:/python/test_config.ini"
21 from readline import *
19 print "Using the new pyreadline (thanks for participating in the testing!)"
22 print "Using the new pyreadline (thanks for participating in the testing!)"
23
20 have_readline = True
24 have_readline = True
21 import pyreadline as _rl
25
26 import readline as _rl
22 except ImportError:
27 except ImportError:
23 print "IPython team recommends the new pyreadline for Windows use, it wasn't found."
28 print "IPython team recommends the new pyreadline for Windows use, it wasn't found."
24 print "It's superior especially with non-US keyboard layouts."
29 print "It's superior especially with non-US keyboard layouts."
General Comments 0
You need to be logged in to leave comments. Login now