pypa/pip

pip install --target --upgrade removes existing packages scripts

Aberta

#8.063 aberto em 16 de abr. de 2020

 (26 comentários) (8 reações) (0 responsável)Python (3.032 forks)batch import
C: targetS: needs triagehelp wantedtype: bug

Métricas do repositório

Stars
 (8.952 estrelas)
Métricas de merge de PR
 (Mesclagem média 56d 1h) (57 fundiu PRs em 30d)

Description

Environment

  • pip version:20.0.2
  • Python version:3.8.2
  • OS:MacOS

Description pip with -t removed other file in target bin folder

Expected behavior

when install package ipython should not remove package pylint bin files

How to Reproduce

mkdir test
pip install -t test pylint
ls test/bin/
epylint  isort  pylint  pyreverse  symilar

pip install -U -t test ipython
ls test/bin/
easy_install  easy_install-3.8  iptest  iptest3  ipython  ipython3  pygmentize

Output

After install ipython, pylint is deleted.

Guia do colaborador