[Distutils] entry points PEP

Daniel Holth dholth at gmail.com
Sat Jul 20 00:23:21 CEST 2013


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


More information about the Distutils-SIG mailing list