Hello Vinay:<div>I would say get it up to date, and then submit a pull.</div><div>We can discuss details in the pull and see the travis results. </div><div>It doesn't have to be final or an immediate merge candidate to submit a pull for discussion.</div>
<div>As for considering it for an upcoming pip milestone that's something we/you can bring up on the pypa-dev list.</div><div><div>Marcus</div><div><div><br><br><div class="gmail_quote">On Mon, Apr 22, 2013 at 4:38 PM, Vinay Sajip <span dir="ltr"><<a href="mailto:vinay_sajip@yahoo.co.uk" target="_blank">vinay_sajip@yahoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've made progress in my experiment to replace pkg_resources usage in pip<br>
with code in distlib. The basic approach is to replace references to<br>
pkg_resources with references to pip.vendor.distlib.pkg_resources, where the<br>
latter module is a shim to emulate the pkg_resources API using distlib to<br>
actually implement the functionality.<br>
<br>
Although I don't have the very latest upstream pip updates merged in yet, I<br>
have test results which mirror the develop branch (one failure, related to my<br>
test environment - test_correct_pip_version). I believe I have now replaced<br>
all uses of pkg_resources (when I mentioned this effort previously on this<br>
list, pip/req.py had not yet been converted).<br>
<br>
Note that the pip.vendor.distlib version is slightly different to the<br>
released distlib - the main difference being that the metadata version in the<br>
released distlib is treated as 2.0, whereas for pip I had to change it to<br>
1.3.<br>
<br>
The code is at [1] - the use-distlib branch - and a comparison view is at<br>
[2].<br>
<br>
I would appreciate comments, especially from the pip maintainers.<br>
<br>
Regards,<br>
<br>
Vinay Sajip<br>
<br>
[1] <a href="https://github.com/vsajip/pip" target="_blank">https://github.com/vsajip/pip</a><br>
[2] <a href="https://github.com/vsajip/pip/compare/use-distlib" target="_blank">https://github.com/vsajip/pip/compare/use-distlib</a><br>
<br>
<br>
_______________________________________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</blockquote></div><br></div></div></div>