Message10329

Author darjus
Recipients alex.gronholm, darjus, seletz, thavihaz909
Date 2015-10-08.12:51:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444308702.36.0.902540557338.issue2360@psf.upfronthosting.co.za>
In-reply-to
Content
I believe the reason for this confusion/issue is the following commit:

➜  jython  hg log ./lib-python/2.7/ensurepip/__init__.py
changeset:   7528:e7afa7fd1e5b
user:        Jim Baker <jim.baker@rackspace.com>
date:        Tue Jan 13 00:28:38 2015 -0700
files:       CPythonLib.includes Lib/ensurepip/__init__.py Lib/ensurepip/_bundled/pip-1.6-py2.py3-none-any.whl Lib/ensurepip/_bundled/setuptools-11.3.1-py2.py3-none-any.whl Lib/test/test_support.py lib-python/2.7/ensurepip/__init__.py lib-python/2.7/ensurepip/__main__.py lib-python/2.7/ensurepip/_uninstall.py lib-python/2.7/test/_mock_backport.py lib-python/2.7/test/test_ensurepip.py
description:
Initial support for ensurepip module

Copies over ensurepip backport from CPython 2.7.9. The main
modification is that Jython needs modified wheels, with the wheels in
wheels in Lib/ensurepip/_bundle built as follows:

* setuptools from setuptools-11.3.1 release
* pip from https://github.com/jythontools/pip

To build wheels, build with ant using a clean release:

1. jython27 ez_setup.py
2. in checkout of https://github.com/jythontools/pip, jython27 setup.py install
3. in checkout of https://github.com/jythontools/wheel, jython27 setup.py install
4. copy output of jpip wheel of pip, setuptools into _bundle

Rebuild Jython and validate with jython27 -m ensurepip. This should be
automated!

This new support needs to be further tested (and likely debugged) on
Windows. Note that some of the tests in test_ensurepip are currently
failing.
History
Date User Action Args
2015-10-08 12:51:42darjussetmessageid: <1444308702.36.0.902540557338.issue2360@psf.upfronthosting.co.za>
2015-10-08 12:51:42darjussetrecipients: + darjus, alex.gronholm, seletz, thavihaz909
2015-10-08 12:51:42darjuslinkissue2360 messages
2015-10-08 12:51:41darjuscreate