##// END OF EJS Templates
Don't use execfile in setupegg.py
Thomas Kluyver -
Show More
@@ -1,6 +1,7 b''
1 #!/usr/bin/env python
1 #!/usr/bin/env python
2 """Wrapper to run setup.py using setuptools."""
2 """Wrapper to run setup.py using setuptools."""
3
3
4 # Import setuptools and call the actual setup
4 # Import setuptools and call the actual setup
5 import setuptools
5 import setuptools
6 execfile('setup.py')
6 with open('setup.py', 'rb') as f:
7 exec(compile(f.read(), 'setup.py', 'exec'))
General Comments 0
You need to be logged in to leave comments. Login now