<div dir="ltr">Err, slipped my mind that Donald is working onĀ <a href="https://github.com/pypa/packaging">https://github.com/pypa/packaging</a> which also might end up being what I was describing in my previous message<div class="gmail_extra"><br><div class="gmail_quote">On 7 December 2014 at 20:28, Matthew Iversen <span dir="ltr"><<a href="mailto:matt@notevencode.com" target="_blank">matt@notevencode.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Between setuptools / wheel / pip / virtualenv there is actually a good case for a shared common code project to vendor from. The easiest example of functionality contained within this would be version parsing, although there are a number of other features as well (eg installing a wheel).</p>
<p dir="ltr">Currently the case is that this is half done by pip vendoring setuptools' pkg_resources.py although I think it would be of great benefit to all projects to formalise this situation into a new discrete codebase in the future. Distlib is a candidate project to fulfill this role but it would need a good bit of vetting beforehand AFAIK.</p>
<p dir="ltr">Pip doesn't offer any api mainly because is too messy / large / would take away too much time for the developers to spend time creating a good api that we could stick to. Sort of "We'd love to, but have you seen the issue list... :(".</p>
<p dir="ltr">In that respect that is actually the use case that distlib aims to provide. Pip currently uses distlib's code to install wheels.</p>
<p dir="ltr">That said I'd reiterate Donald's comment that we'd love to see a wanted-functionality list from projects like buildout for such a hypothetical official future utility project.</p></blockquote></div></div></div>