New submission from Antoine Pitrou:

This is what happens when building Python with conda-build (which implies doing 
"make install" with a custom prefix):


[...]
if test "xupgrade" != "xno"  ; then \
        case upgrade in \
                upgrade) ensurepip="--upgrade" ;; \
                install|*) ensurepip="" ;; \
        esac; \
        LD_LIBRARY_PATH=/home/antoine/miniconda3/conda-bld/work/cpython-default 
./python -E -m ensurepip \
                $ensurepip --root=/ ; \
fi
Ignoring indexes: https://pypi.python.org/simple/
Requirement already up-to-date: setuptools in 
/home/antoine/.local/lib/python3.5/site-packages
Requirement already up-to-date: pip in 
/home/antoine/.local/lib/python3.5/site-packages
[...]


Note that conda-build *does* set PYTHONNOUSERSITE to make builds as isolated as 
possible, but the Python Makefile deliberately ignores it using "python -E"!

----------
components: Build
messages: 245078
nosy: dstufft, ncoghlan, pitrou
priority: normal
severity: normal
status: open
title: "make install" will not install pip if already present in user 
site-packages
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24418>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to