asdf-community / asdf-community/asdf-python
Exclude pip modules from reshim?
- 主要语言
- Shell
- 星标
- 729
- 派生
- 65
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi there, I was wondering if it's possible to prevent some installed pip modules from being linked during a `asdf reshim python`.
For example, I have the `python-apt` module installed because I write python scripts to interact with apt, however this now overrides my base OS version's `apt` binary
I don't want to totally prevent python modules from being installed in my path because of things like `ansible`
```
~
$ apt --version
1.18
~
$ apt install apt
* Running: sudo apt-get install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version (2.0.9).
The following packages were automatically installed and are no longer required:
libfwupdplugin1 libxmlb1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
~
$ which apt
/home/ddastoor/.asdf/shims/apt
~
$ pip3 list | grep apt
apt-wrapper 1.18
pyapt 0.0.6
wrapt 1.15.0
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先,在安装了 `python-apt` 的情况下重现 `asdf reshim python`,并检查 `apt` shim 是如何生成的。此更改应提供一种排除选定的 pip 提供的命令的方法,同时继续链接 `ansible` 等有用命令,并保持系统 `apt` 可用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100