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

Here's where the magic happens:

https://bitbucket.org/pypa/setuptools/src/9dc434ac0308749d564d721a19ee412c2e79754f/setuptools/command/install_scripts.py?at=default#cl-37

And:

https://bitbucket.org/pypa/setuptools/src/9dc434ac0308749d564d721a19ee412c2e79754f/setuptools/command/easy_install.py?at=default#cl-1840
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to