[issue24418] make install will not install pip if already present in user site-packages

2015-06-09 Thread Antoine Pitrou

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



[issue24418] make install will not install pip if already present in user site-packages

2015-06-09 Thread Aaron Meurer

Changes by Aaron Meurer asmeu...@gmail.com:


--
nosy: +Aaron.Meurer

___
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



[issue24418] make install will not install pip if already present in user site-packages

2015-06-09 Thread Donald Stufft

Donald Stufft added the comment:

We should probably pass ``-s`` to the ensurepip call.

Adding 2.7 here as well because I think this will probably affect more than 
just the Makefile, probably the Windows installers and OSX installers too.

--
versions: +Python 2.7

___
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



[issue24418] make install will not install pip if already present in user site-packages

2015-06-09 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Do we need to add Steve and Ned for the installers?

--

___
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



[issue24418] make install will not install pip if already present in user site-packages

2015-06-09 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +ned.deily
stage:  - needs patch

___
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