##// END OF EJS Templates
Don't import IPython to check version number in setup...
Don't import IPython to check version number in setup The version number is already exec-ed into the global scope of this module, so we don't need the import here. Don't you just love Python packaging? Closes gh-9208

File last commit:

r13387:3b4dba0a
r22056:46f9e03d
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'))