<div dir="ltr"><div><div><div>The following post appeared in Jython-dev this morning.<br><br>I think that this might be a really good idea for IronPython, too, especially now that there is a patch for setuptools so that it will not choke on Iron.<br>

<br></div>Should this be included as a work item in our tracker?<br>--<br></div>Vernon Cole<br></div>v v v v v v v<br><br><div><div><div>Date: Mon, 5 May 2014 12:24:41 -0600<br>
From: Jim Baker <<a href="mailto:jim.baker@python.org">jim.baker@python.org</a>><br>
Subject: [Jython-dev] Supporting ensurepip in beta 4<br>
To: Jython Developers <<a href="mailto:jython-dev@lists.sourceforge.net">jython-dev@lists.sourceforge.net</a>><br>
Message-ID:<br>
        <<a href="mailto:CAL9RhrX8HNzFvRX4YNC6za7mc8tboWJC7%2Bb16w2YEHVwvG8F9w@mail.gmail.com">CAL9RhrX8HNzFvRX4YNC6za7mc8tboWJC7+b16w2YEHVwvG8F9w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I just had a nice conversation on #pypa-dev re ensurepip, which is part of<br>
Python 3.4 and will also be bundled in PyPy 2.3, which supports both 2.7<br>
and 3.4 versions of Python. I recommend that Jython 2.7 do the same, given<br>
that like PyPy we are under active development, unlike CPython 2.7.<br>
<br>
We should be able to do this in time for beta 4.<br>
<br>
ensurepip (<a href="https://docs.python.org/3/library/ensurepip.html" target="_blank">https://docs.python.org/3/library/ensurepip.html</a>) provides<br>
support for having a bundled version of pip, which is then used to install<br>
the current version of pip in a matter that's transparent to the user.<br>
Jython simply needs to bundle the required pip and setuptools wheels and<br>
the ensurepip package in stdlib.<br>
<br>
This will mean that our users will have pip immediately available to them<br>
upon installing Jython, with no extra steps required. PyPy has done the<br>
hard work to provide a 2.7-compatible version. More rationale here:<br>
<a href="http://legacy.python.org/dev/peps/pep-0453/" target="_blank">http://legacy.python.org/dev/peps/pep-0453/</a><br>
<br>
This timeline depends on a pull request I made against pip's vendor lib<br>
dependency html5lib-python getting made, but I don't expect us to see any<br>
blockers there.<br>
<br>
- Jim<br>^ ^ ^ ^ ^ ^ ^ ^ ^<br><br></div></div></div></div>