On Jul 19, 2013, at 6:22 PM, 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.

We could also have pbr do this when it builds the sdist.

Doug

> 
> 
> On Fri, Jul 19, 2013 at 3:10 PM, Joe Gordon <joe.gord...@gmail.com> wrote:
> 
> 
> 
> On Fri, Jul 19, 2013 at 1:42 PM, PJ Eby <p...@telecommunity.com> wrote:
> On Fri, Jul 19, 2013 at 2:09 PM, Joe Gordon <joe.gord...@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.)
> 
> 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@python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to