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

Noah Kantrowitz noah at coderanger.net
Thu Jul 18 17:06:55 CEST 2013


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.

--Noah

-------------- 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/2cf6b939/attachment.pgp>


More information about the Distutils-SIG mailing list