##// END OF EJS Templates
Give SyntaxError for naked return in timeit...
Give SyntaxError for naked return in timeit We were missing invalid syntax because we put the code into a function before compiling it, leading to confusing error messages. Closes gh-10636

File last commit:

r13387:3b4dba0a
r23747:4692abe0
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'))