[Catalog-sig] disabling the serving of links from description_html?

PJ Eby pje at telecommunity.com
Wed Dec 19 04:37:25 CET 2012


On Tue, Dec 18, 2012 at 11:46 AM, M.-A. Lemburg <mal at egenix.com> wrote:
> AFAIK, setuptools/distribute only looks at links with rel="homepage"
> or rel="download" attributes, not all links on the PyPI project page.
> The links from the description don't receive such attributes.

Those are the only links that are unconditionally followed, yes.  But
all links it sees are parsed to see if they appear to be a direct
download link (e.g. .tgz, .zip, .egg, "#egg=" link, etc.).  They're
just not *followed* unless they appear to be a direct link to a
desired version of something, or if it's marked as a homepage or
download link.  All other on-page links are ignored, whether they're
part of the description or otherwise.

(Any given link is also retrieved at most once per run of easy_install.)


More information about the Catalog-SIG mailing list