osupython/pip2 — pull request #79 by njwilson (2012-06-01 00:26:32+00:00)
Title: Attempt to fix readthedocs.org build

My last attempt to add API documentation (using the Sphinx autodoc
extension) on readthedocs.org failed because Sphinx needed to import
pip2, but failed because distutils2 wasn't installed.

To fix this, I added 'distutils2' to install_requires in setup.py for
Python 2. I also configured RTFD to install pip2 (which should also pull
in its requirements, i.e. distutils2) before building the documentation.

If this works, the API section on RTFD should display properly once the
documentation is rebuilt.

http://pip2.readthedocs.org/en/latest/dev/api/