[Distutils] [Python-ideas] Version control system link in package meta data

Nick Coghlan ncoghlan at gmail.com
Sat Mar 12 09:46:30 EST 2016


On 12 March 2016 at 20:44, Alexander Walters <tritium-list at sdamon.com> wrote:
> I agree, it would be nice if everyone used git (or any of a small set of
> VCS), and all the packages on pypi listed their repositories in the
> metadata.  If that were the case, this tool might already exist.  In the
> current state of things, though, i don't think it makes much sense to
> produce a general purpose tool for this.

We don't place any particular requirements on the development
practices of projects publishing their releases through PyPI, so
there's no requirement for a public VCS URL to even exist for a
project, let alone for it to be mentioned in the project metadata.

That said, since project URLs do make it possible for projects to
share that metadata if they want to, this is a situation where a
"checkout-pypi-project" that gained popularity might provide more
incentive for maintainers to provide that metadata and keep it up to
date. As a fallback for projects without that metadata, searching
popular hosting sites like GitHub, BitBucket, GitLab and even
SourceForge, would provide some initial links to investigate.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Distutils-SIG mailing list