[Distutils] zc.buildout generated console scripts with sys.exit
olaf at conradi.org
Sat Jan 9 01:28:15 CET 2010
I wanted use zc.buildout for a program that I wrote, but noticed that the
generated console script does not call sys.exit, unlike setuptools.
My main function uses a structure as explained by Guido in
if argv is None:
argv = sys.argv
if __name__ == "__main__":
Can this be supported?
I noticed a patch is attached to
In short, my buildout looks like this:
recipe = zc.recipe.egg
eggs = myprogram
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG