[Distutils] entry points PEP
doug.hellmann at gmail.com
Sat Jul 20 19:54:51 CEST 2013
On Jul 19, 2013, at 6:22 PM, Monty Taylor <monty.taylor at 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.
We could also have pbr do this when it builds the sdist.
> On Fri, Jul 19, 2013 at 3:10 PM, Joe Gordon <joe.gordon0 at gmail.com> wrote:
> On Fri, Jul 19, 2013 at 1:42 PM, PJ Eby <pje at telecommunity.com> wrote:
> On Fri, Jul 19, 2013 at 2:09 PM, Joe Gordon <joe.gordon0 at gmail.com> wrote:
> > When I try importing pkg_resources in our development environment it is very
> > slow:
> Use zc.buildout to install the application you're invoking, and then
> it won't need to import pkg_resources. (Unless the actual app uses
> It looks like zc.buildout is not an option as we are already heavily invested in using pip and virtualenv.
> Distutils-SIG maillist - Distutils-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG