##// END OF EJS Templates
Merge pull request #12171 from ngoldbaum/run-module-import-hook...
Merge pull request #12171 from ngoldbaum/run-module-import-hook support using '%run -m' for modules importable via an import hook

File last commit:

r13387:3b4dba0a
r25586:0395aa5c merge
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'))