##// END OF EJS Templates
Fix for ticket https://bugs.launchpad.net/bugs/362458 Python 2.4 does not support a try/finally with a yield in the try. I have changed this to a try with an empty except, followed by the statement that was in the finally.

File last commit:

r1644:e9ae4f1d
r1964:bd5930b7
Show More
setupegg.py
14 lines | 341 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
import sys
# now, import setuptools and call the actual setup
import setuptools
# print sys.argv
#sys.argv=['','bdist_egg']
execfile('setup.py')
# clean up the junk left around by setuptools
if "develop" not in sys.argv:
os.system('rm -rf ipython.egg-info build')