<br><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 18, 2012 at 5:46 PM, M.-A. Lemburg <span dir="ltr"><<a href="mailto:mal@egenix.com" target="_blank">mal@egenix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On 18.12.2012 15:54, Holger Krekel wrote:<br>
> Hi Richard, hi all,<br>
><br>
> While reading the pypi main and other sources i wondered how we could<br>
> switch off serving links from description_html, at least on a per-project<br>
> basis.  It's really annoying that when you start to add some links to a<br>
> long_description that installation of your package will thus slow down<br>
> around the world.  Even if you remove the links from the next release.<br>
><br>
> How could we arrange for a maintainer to communicate to the pypi-server<br>
> that a particular project should not ever serve links from description_html<br>
> (and maybe not even from the homepage while we are at it)?<br>
><br>
> Preferably it should be something that can be done from existing setup.py<br>
> files, like adding a special trove-classifier or keyword.  But a little<br>
> custom tool or a web page form would be ok as well.<br>
><br>
> If maintainers could easily switch off these extra links, then this means<br>
> less stress for the pypi server and a global considerable speedup of<br>
> installing python packages as often most of the pip/easy_install time is<br>
> spent with checking out these URLs.<br>
<br>
</div></div>Are you sure about about this ?<br>
<br>
AFAIK, setuptools/distribute only looks at links with rel="homepage"<br>
or rel="download" attributes, not all links on the PyPI project page.<br>
The links from the description don't receive such attributes.<br>
<br>
See e.g. <a href="http://pypi.python.org/simple/pytest/" target="_blank">http://pypi.python.org/simple/pytest/</a><br>
<br></blockquote><div><br>You are right, Marc.  Only the download and home page links (from all versions ever published) are considered from pip/easy_install.  I just examined it more closely via urlsnarf.  They were so many in some projects and mixed with the other links so i didn't see it clearly before (although i did notice the rel classification). <br>

<br>So to avoid the overhead one could retroactively remove all download links and maybe also all homepage links except the one for the latest version or so.   But that can be done without changes to pypi itself i guess. <br>

<br>best & thanks for the clarification,<br>holger<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--<br>
Marc-Andre Lemburg<br>
eGenix.com<br>
<br>
Professional Python Services directly from the Source  (#1, Dec 18 2012)<br>
>>> Python Projects, Consulting and Support ...   <a href="http://www.egenix.com/" target="_blank">http://www.egenix.com/</a><br>
>>> mxODBC.Zope/Plone.Database.Adapter ...       <a href="http://zope.egenix.com/" target="_blank">http://zope.egenix.com/</a><br>
>>> mxODBC, mxDateTime, mxTextTools ...        <a href="http://python.egenix.com/" target="_blank">http://python.egenix.com/</a><br>
________________________________________________________________________<br>
2012-12-14: Released mxODBC.Connect 2.0.2 ...     <a href="http://egenix.com/go38
2012-12-05" target="_blank">http://egenix.com/go38<br>
2012-12-05</a>: Released eGenix pyOpenSSL 0.13 ...    <a href="http://egenix.com/go37
2013-01-22" target="_blank">http://egenix.com/go37<br>
2013-01-22</a>: Python Meeting Duesseldorf ...                 35 days to go<br>
<br>
   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48<br>
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg<br>
           Registered at Amtsgericht Duesseldorf: HRB 46611<br>
               <a href="http://www.egenix.com/company/contact/" target="_blank">http://www.egenix.com/company/contact/</a><br>
</blockquote></div><br></div>