Source

setuptools / setuptools / script template (dev).py

Full commit
1
2
3
4
5
6
7
8
9
# EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r
__requires__ = """%(spec)r"""
from pkg_resources import require; require("""%(spec)r""")
del require
__file__ = """%(dev_path)r"""
try:
    execfile(__file__)
except NameError:
    exec(compile(open(__file__).read(), __file__, 'exec'))