##// END OF EJS Templates
Merge branch '0.10.2' of https://github.com/TvrtkoM/ipython into TvrtkoM-0.10.2
Merge branch '0.10.2' of https://github.com/TvrtkoM/ipython into TvrtkoM-0.10.2

File last commit:

r2596:b40051b6
r3371:cec4ca6d merge
Show More
setupegg.py
18 lines | 410 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
import os
import shutil
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:
egg_info = 'ipython.egg-info'
if os.path.isdir(egg_info):
shutil.rmtree(egg_info)
else:
os.unlink(egg_info)