<br><br>On Friday, October 20, 2017, Ronald Oussoren <<a href="mailto:ronaldoussoren@mac.com">ronaldoussoren@mac.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On 28 Aug 2017, at 00:12, Brett Cannon <<a href="javascript:_e(%7B%7D,'cvml','brett@python.org');" target="_blank">brett@python.org</a>> wrote:</div><br><div>If you search the archive of this mailing list you will notice I asked this exact question about a month or 2 ago (I think). The answer I got was it is used on <a href="http://PyPI.org" target="_blank">PyPI.org</a>, but I don't know how to set it with setuptools (flit will probably add support after PEP 517).<br></div></blockquote><div><br></div>To get back to this: I’m probably doing something wrong, but I haven’t managed yet to make anything show up on <a href="http://PyPI.org" target="_blank">PyPI.org</a> when I use “Project-URL” in metadata. </div><div><br></div><div>There’s a pyobjc-core 4.0.1b1 wheel on <a href="http://PyPI.org" target="_blank">PyPI.org</a> that includes two Project-URL lines in its metadata, but that doesn’t add anything to the sidebar. I’ve manually verified that the metadata is present in the wheel file (as I’m using a replacement egg_info command in my setup.py file to generate this part of the metadata).</div></div></blockquote><div><br></div><div><a href="https://github.com/pypa/warehouse/search?utf8=%E2%9C%93&q=">https://github.com/pypa/warehouse/search?utf8=✓&q=</a>"project-url"&type=Issues<div><br></div><div><a href="https://github.com/pypa/warehouse/search?q=">https://github.com/pypa/warehouse/search?q=</a>"Project-Url"&type=Commits&utf8=✓</div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Ronald</div><div><br></div><div>P.S. I tried to upload to <a href="http://test.pypi.org" target="_blank">test.pypi.org</a>, but that didn’t work due to an SSL error:</div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span>$ twine upload -r testpypi dist/pyobjc_core-4.0.1b1-cp27-<wbr>cp27m-macosx_10_6_intel.whl </span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span>Uploading distributions to <a href="https://test.pypi.org/legacy/" target="_blank">https://test.pypi.org/legacy/</a></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span>Uploading pyobjc_core-4.0.1b1-cp27-<wbr>cp27m-macosx_10_6_intel.whl</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span>SSLError: HTTPSConnectionPool(host='<a href="http://test.pypi.org" target="_blank">test<wbr>.pypi.org</a>', port=443): Max retries exceeded with url: /legacy/ (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)'),))</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"></div></div></div></blockquote><div><br></div><div><a href="https://www.google.com/search?q=TLSV1_ALERT_PROTOCOL_VERSION">https://www.google.com/search?q=TLSV1_ALERT_PROTOCOL_VERSION</a><br></div><div><br></div><div>Looks like TLSv1 (TLS 1.0) is deprecated.</div><div><br></div><div><a href="https://www.google.com/search?q=TLSV1_ALERT_PROTOCOL_VERSION+twine">https://www.google.com/search?q=TLSV1_ALERT_PROTOCOL_VERSION+twine</a><br></div><div><br></div><div><a href="https://github.com/pypa/twine/issues/273">https://github.com/pypa/twine/issues/273</a><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><br></div></div><div><blockquote type="cite"><div><br><div class="gmail_quote"><div dir="ltr">On Sun, Aug 27, 2017, 13:01 Ronald Oussoren <<a href="javascript:_e(%7B%7D,'cvml','ronaldoussoren@mac.com');" target="_blank">ronaldoussoren@mac.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><blockquote type="cite"><div>On 27 Aug 2017, at 17:33, Wes Turner <<a href="javascript:_e(%7B%7D,'cvml','wes.turner@gmail.com');" target="_blank">wes.turner@gmail.com</a>> wrote:</div><br><div>You can add a URL in the long_description (e.g. to <a href="https://read-the-docs.readthedocs.org/" target="_blank">https://read-the-docs.<wbr>readthedocs.org/</a> )</div></blockquote><div><br></div></div></div><div style="word-wrap:break-word"><div>I know, but that adds the URL to the project description and not the sidebar. PEP 345 appears to specify metadata that could be used for this, and warehouse seems to contain to make use of this (or at least a database model that allows for specifying more links than just the default one). </div><div><br></div><div>Adding links to the sidebar would be nicer with the new design on <a href="http://pypi.org/" target="_blank">PyPI.org</a>, but there doesn’t seem to be a clean way to add “Project-URL” metadata as described in PEP 345 to a wheel file. I could tweak my setup.py files to add Project-URL metadata, but before I do that I’d like to confirm that (a) that metadata is actually used by warehouse and (b) there is no cleaner way to add this metadata using setuptools.</div></div><div style="word-wrap:break-word"><div><br></div><div>Ronald</div></div>______________________________<wbr>_________________<br>
Distutils-SIG maillist  -  <a href="javascript:_e(%7B%7D,'cvml','Distutils-SIG@python.org');" target="_blank">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/distutils-sig</a><br>
</blockquote></div>
</div></blockquote></div><br></div></blockquote>