On 19 July 2013 23:22, Monty Taylor <monty.tay...@gmail.com> wrote: > Yeah. Not moving to zc.buildout for anything. I believe it will be a > better option to just write by-hand scripts that get installed that just do: > > from nova.rootwrap import cmd > > return cmd.main(sys.argv) > > or something. Basically, a tiny boiler-plate script that does the same > thing as a console_scripts entry point thing without loading the module in > question via pkg_resources.
Do you care about Windows compatibility for your app? If not, this is probably your best option. If you do, you'll need to add exe wrappers for the scripts on Windows - if you need that, then using distlib's script generator might be worth investigating. Paul
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig