##// END OF EJS Templates
Patch stdout in interactive shell...
Patch stdout in interactive shell Now that https://github.com/jonathanslenders/python-prompt-toolkit/issues/507 and https://github.com/jonathanslenders/python-prompt-toolkit/pull/520 are fixed and released in prompt_toolkit>=1.0.15, using patch_stdout_context fixes the prompt and completers when background threads are writing to stdout.

File last commit:

r13387:3b4dba0a
r23950:3354940e
Show More
setupegg.py
7 lines | 217 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
# Import setuptools and call the actual setup
import setuptools
with open('setup.py', 'rb') as f:
exec(compile(f.read(), 'setup.py', 'exec'))