##// END OF EJS Templates
Changing input filtering to require whitespace separation between the initial command (alias, magic, autocall) and rest of line. ...
Changing input filtering to require whitespace separation between the initial command (alias, magic, autocall) and rest of line. This fixes some subtle but nasty bugs with lines that start with, e.g. r'a_string'. They had been getting parsed as the magic %r followed by the string literal 'a_string' -- now that's been fixed.

File last commit:

r704:ee1f755f
r707:8de6d199
Show More
ipy_kitcfg.py
16 lines | 315 B | text/x-python | PythonLexer
#import IPython.ipapi
#ip = IPython.ipapi.get()
import os
def main():
root = os.environ.get('IPYKITROOT', None)
if not root:
print "Can't configure ipykit, IPYKITROOT should be set."
return
os.environ["PATH"] = os.environ["PATH"] + ";" + root + "\\bin;"
main()