##// END OF EJS Templates
Fixed whitespace bug when pasting IPython continuation prompt....
Fixed whitespace bug when pasting IPython continuation prompt. Fixes a SyntaxError that arose when pasting code containing the IPython continuation prompt without a trailing white space, such as: In[1]: if True: ...: print "No space after ':' on next line." ...: This might arise if the user only copies up to the end of the last prompt, without copying the trailing whitespace. This commit adds a regression test and fixes the regular expression that strips continuation prompts, making the whitespace optional.

File last commit:

r13387:3b4dba0a
r19037:1ea18812
Show More
setupegg.py
7 lines | 217 B | text/x-python | PythonLexer
vivainio
Separate eggsetup.py that handles scripts installation in the egg...
r138 #!/usr/bin/env python
Brian E Granger
Adding documentation to setup* files.
r1239 """Wrapper to run setup.py using setuptools."""
vivainio
Separate eggsetup.py that handles scripts installation in the egg...
r138
Fernando Perez
Move cleanup to main setup.py, where it belongs....
r2460 # Import setuptools and call the actual setup
vivainio
changed setup to support easy_install ipython==dev
r173 import setuptools
Thomas Kluyver
Don't use execfile in setupegg.py
r13387 with open('setup.py', 'rb') as f:
exec(compile(f.read(), 'setup.py', 'exec'))