[Distutils] Entry points: specifying and caching

Daniel Holth dholth at gmail.com
Wed Oct 18 15:06:33 EDT 2017

On Wed, Oct 18, 2017 at 2:18 PM Alex Grönholm <alex.gronholm at nextday.fi>

> Daniel Holth kirjoitti 18.10.2017 klo 21:06:
> http://setuptools.readthedocs.io/en/latest/formats.html?highlight=entry_points.txt#entry-points-txt-entry-point-plugin-metadata
> http://setuptools.readthedocs.io/en/latest/pkg_resources.html?highlight=pkg_resources#creating-and-parsing
> It is not very complicated. It looks like the characters are mostly
> 'python identifier' rules with a little bit of 'package name' rules.
> I am also concerned about the amount of parsing on startup. A hard problem
> for certain, since no one likes outdated cache problems either. It is also
> unpleasant to have too much code with a runtime dependency on 'packaging'.
> Wasn't someone working on implementing pkg_resources in the standard
> library at some point?

I'm just saying it is good to avoid importing it unless you really need to.
Same reason we removed it from entry point script wrappers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20171018/aa232f33/attachment.html>

More information about the Distutils-SIG mailing list