[Distutils] API for registering/managing URLs for a package

Noah Kantrowitz noah at coderanger.net
Thu Jul 18 18:42:50 CEST 2013

On Jul 18, 2013, at 8:06 AM, Noah Kantrowitz wrote:

> On Jul 18, 2013, at 7:10 AM, M.-A. Lemburg wrote:
>> I would like to write a script to automatically register release URLs
>> for PyPI packages.
>> Is the REST API documented somewhere, or is the implementation the
>> spec ? ;-)
>> And related to this:
>> Will there be an option to tell PyPI's CDN to cache the release
>> URL's contents ?
> I think you are perhaps confused, the use of external URLs on PyPI is formally deprecated. The way you inform the PyPI and the CDN network about your package is you upload it to PyPI. pip 1.4 effectively disables "unsafe" external URLs, and all external URLs will follow soon.

Someone reminded me that I'm only partially correct, the external URL stuffs will continue to be supported, but only as a convenience during package registration/upload. From the PoV of clients (and the CDN) everything will be local.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130718/7542eb8a/attachment.pgp>

More information about the Distutils-SIG mailing list