[Distutils] PEP 345 - 3 new fields
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:
> A string containing the URL for the package's repository.
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...
More information about the Distutils-SIG