##// END OF EJS Templates
add CWD to sys.path *after* stdlib...
add CWD to sys.path *after* stdlib this deviates from Python's own interactive behavior, but seems to avoid problems where folks create stdlib-names like `email.py`. They can still collide with packages, but that seems less common than generic names like `email` and `code`

File last commit:

r13387:3b4dba0a
r24840:2c70fc62
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'))