setupegg.py
14 lines
| 341 B
| text/x-python
|
PythonLexer
vivainio
|
r138 | #!/usr/bin/env python | ||
Brian E Granger
|
r1239 | """Wrapper to run setup.py using setuptools.""" | ||
vivainio
|
r138 | |||
vivainio
|
r173 | import sys | ||
vivainio
|
r138 | |||
vivainio
|
r173 | # now, import setuptools and call the actual setup | ||
import setuptools | ||||
Brian E Granger
|
r1244 | # print sys.argv | ||
vivainio
|
r173 | #sys.argv=['','bdist_egg'] | ||
execfile('setup.py') | ||||
vivainio
|
r139 | |||
vivainio
|
r173 | # clean up the junk left around by setuptools | ||
vivainio
|
r211 | if "develop" not in sys.argv: | ||
os.system('rm -rf ipython.egg-info build') | ||||