Hello, 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 http://www.artima.com/weblogs/viewpost.jsp?thread=4829 def main(argv=None): if argv is None: argv = sys.argv # ... return 0 if __name__ == "__main__": sys.exit(main()) Can this be supported? I noticed a patch is attached to https://bugs.launchpad.net/zc.buildout/+bug/164629 In short, my buildout looks like this: [py] recipe = zc.recipe.egg eggs = myprogram Thanks, -Olaf
_______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
