##// END OF EJS Templates
Print exception instead of "KeyboardInterrupt"...
Print exception instead of "KeyboardInterrupt" Whenever a KeyboardInterrupt exception occurs in the shell, we should print the actual exception instead of the string "KeyboardInterrupt". This is needed to support exceptions inherited from KeyboardInterrupt.

File last commit:

r13387:3b4dba0a
r19114:d574a6bc
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'))