[Distutils] PEP 345 - 3 new fields

Ian Bicking ianb at colorstudy.com
Mon Nov 30 20:17:18 CET 2009

On Sun, Nov 22, 2009 at 4:52 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:

> As suggested in Catalog-SIG by some people, I would like to propose
> the addition of three more fields for 1.2:
> "Repository-URL"
>    A string containing the URL for the package's repository.
>   Example:
>        http://svn.python.org/projects/python/trunk/

I like this in concept, but it's a bit vague as just a URL.  What kind of
repository is it?  Sniffing is possible, but doesn't work that well.  For
pip I require something like hg+http://... (with exceptions for schemes that
are self-describing, like svn: and git:).

It's also unclear whether it should point to the trunk, a branch, or a tag
(related to the release).  As a URL that's only even possible for svn, as
git/hg/bzr all point to the repository and URLs can't point to revisions,
tags, etc.  (pip has some extensions to the URL format to accommodate these,
but they aren't formally defined at this time).

Ian Bicking  |  http://blog.ianbicking.org  |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091130/2b45a38d/attachment.htm>

More information about the Distutils-SIG mailing list