##// END OF EJS Templates
Simplify options handling code by using argparse argument_default....
Simplify options handling code by using argparse argument_default. The argparse.ArgumentParser class supports an instance-wide default, so we can set that once instead of having every argument configured with the same default always.

File last commit:

r2407:d84cd37b
r2428:f8bf80c5
Show More
setupegg.py
13 lines | 294 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
import os
import sys
# now, import setuptools and call the actual setup
import setuptools
execfile('setup.py')
# clean up the junk left around by setuptools
if "develop" not in sys.argv:
os.unlink('ipython.egg-info')