Closed pelson closed 4 years ago
Thanks, sorry I overlooked this.
I consider extras on entry points deprecated and best avoided by new code (and I'm not alone in this - e.g. see this distutils-sig thread. They were connected to of setuptools' idea of dynamically reconfiguring sys.path
to make different packages importable, which has been superseded by environment systems.
Combined with the fact that I know of very few things using them, I probably left them out of the repr semi-deliberately. I'm open to showing them when they're used, but I'd prefer they stay hidden when extras=None
.
That's reasonable. It's probably not worth the effort & extra maintenance to show extras only when they exist, so let's close this one out.
I noticed that
__repr__
of an entrypoint was missing theextras
section.With this change: