1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
The Python package installer https://pip.pypa.io/
Go to file
Ian Wienand d871bcd1bb Don't reset purelib/platlib when install-dir not set
Change 3affcaa2b8 attempts to reset
purelib & platlib to any "install-dir" specified by the user in
setup.cfg.  This code is used when we are installing wheels.

The problem with this is that distutils is *always* setting
"i.install_lib" -- even when the user specifies nothing.  This has the
result of unconditionally setting purelib == platlib.

On some systems this results in .so's from the wheel getting installed
into /usr/lib/python2.7 (purelib) rather than /usr/lib64/python
(platlib).  Because distribution-packaged libraries have installed
their .so into platlib, we can now have a situation where the new
pip-installed library is picking up an old .so from the distro package
... with predictably bad results.

This takes the approach of checking the configuration to see if the
user has overridden install-dir and only resetting the paths if they
have.  The override case is covered by existing test-cases.

Closes #2940
2015-08-19 14:56:53 +10:00
.travis Merge pull request #2184 from dstufft/support-import-wheels 2014-12-18 20:51:06 -05:00
contrib Update get-pip.py to pip 6.0.7 2015-01-28 16:44:09 -05:00
docs Merge pull request #2302 from dstufft/document-cache 2015-01-03 01:09:01 -05:00
pip Don't reset purelib/platlib when install-dir not set 2015-08-19 14:56:53 +10:00
tasks Remove unneeded imports 2015-01-28 16:32:14 -05:00
tests Don't reset purelib/platlib when install-dir not set 2015-08-19 14:56:53 +10:00
.coveragerc Show coverage information for tests 2014-06-30 20:59:32 -04:00
.gitignore Use diff-cover to show the change in coverage 2014-06-30 23:17:27 -04:00
.mailmap Update the AUTHORS.txt file 2014-12-22 11:09:25 -05:00
.travis.yml Drop PyPy from the de-bundling tests 2014-12-13 21:55:47 -05:00
AUTHORS.txt Update AUTHORS.txt 2015-01-28 16:31:52 -05:00
CHANGES.txt Merge pull request #2347 from xavfernandez/uninstall_non_canonical_version 2015-01-28 15:18:08 -05:00
dev-requirements.txt Move dev reqs from tox.ini to dev-requirements.txt 2014-12-17 23:36:29 -08:00
LICENSE.txt Bump year 2014-01-02 08:16:28 -05:00
MANIFEST.in Move dev reqs from tox.ini to dev-requirements.txt 2014-12-17 23:36:29 -08:00
README.rst Merge branch 'master' into develop 2014-05-03 02:37:03 -04:00
setup.cfg Rename pip.vendor.* to pip._vendor.* to ensure it's obviously private 2013-10-22 21:32:25 -04:00
setup.py Also exclude package_data when running with NO_VENDOR 2014-11-20 19:55:13 -05:00
tox.ini Move dev reqs from tox.ini to dev-requirements.txt 2014-12-17 23:36:29 -08:00

pip
===

The `PyPA recommended
<https://python-packaging-user-guide.readthedocs.org/en/latest/current.html>`_
tool for installing Python packages.

* `Installation <https://pip.pypa.io/en/latest/installing.html>`_
* `Documentation <https://pip.pypa.io/>`_
* `Changelog <https://pip.pypa.io/en/latest/news.html>`_
* `Github Page <https://github.com/pypa/pip>`_
* `Issue Tracking <https://github.com/pypa/pip/issues>`_
* `Mailing list <http://groups.google.com/group/python-virtualenv>`_
* User IRC: #pypa on Freenode.
* Dev IRC: #pypa-dev on Freenode.


.. image:: https://pypip.in/v/pip/badge.png
        :target: https://pypi.python.org/pypi/pip

.. image:: https://secure.travis-ci.org/pypa/pip.png?branch=develop
   :target: http://travis-ci.org/pypa/pip