[issue32577] Pip creates entry point commands in the wrong place when invoked in a venv nested in a virtualenv

2018-01-17 Thread Tzu-ping Chung

Tzu-ping Chung  added the comment:

Yup, seems so. Closing as duplicate then.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32577] Pip creates entry point commands in the wrong place when invoked in a venv nested in a virtualenv

2018-01-17 Thread R. David Murray

R. David Murray  added the comment:

This is sounds like a variation on issue 30811.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32577] Pip creates entry point commands in the wrong place when invoked in a venv nested in a virtualenv

2018-01-16 Thread Tzu-ping Chung

New submission from Tzu-ping Chung :

(I’m not sure whether this is a venv or virtualenv problem. Asking here first.)

To reproduce:

$ python3.6 -m virtualenv outer
$ ./outer/bin/python -m venv inner
$ ls inner/bin
activate  activate.csh  activate.fish  python  python3

In comparison:

$ python3.6 -m venv another
$ ls another/bin
activate easy_install pip3 python3
activate.csh easy_install-3.6 pip3.6   python3.6
activate.fishpip  python

All commands that pip is supposed to populate are missing

Pip can install packages correctly, but the entry points are populated not 
inside the inner venv, but the outer virtualenv:

$ ./inner/bin/python -m pip install django

$ ls inner/bin
activate  activate.csh  activate.fish  python  python3
$ ls outer/bin
... django-admin django-admin.py

The entry points correctly point to the inner environment. They are just in the 
wrong directory.

--
components: Library (Lib)
messages: 310140
nosy: uranusjr
priority: normal
severity: normal
status: open
title: Pip creates entry point commands in the wrong place when invoked in a 
venv nested in a virtualenv
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com