cs01 / cs01/pythonloc

piploc install --upgrade (probably) won't work

未关闭
#7 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
198
派生
14
PR 合并指标
30 天内没有已合并 PR

描述

Just as a point of information, the `--target` option to pip doesn't work with `--upgrade`, so `piploc -U` won't work as expected.

Demonstration:

```
>py -m pip install -t xxx wheel==0.30.0
Collecting wheel==0.30.0
Downloading https://files.pythonhosted.org/packages/0c/80/16a85b47702a1f47a63c104c91abdd0a6704ee8ae3b4ce4afc49bc39f9d9/wheel-0.30.0-py2.py3-none-any.whl (49kB)
100% |████████████████████████████████| 51kB 731kB/s
Installing collected packages: wheel
Successfully installed wheel-0.30.0
>py -m pip install -t xxx -U wheel
Collecting wheel
Using cached https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.33.1
>dir .\xxx

Directory: C:\Work\Scratch\xxx

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 01/03/2019 15:49 bin
d----- 01/03/2019 15:49 wheel
d----- 01/03/2019 15:49 wheel-0.30.0.dist-info
d----- 01/03/2019 15:49 wheel-0.33.1.dist-info
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。