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 がどのように生成されるかを調べます。この変更では、`ansible` のような有用なコマンドのリンクを維持しながら、pip が提供する特定のコマンドを除外できる方法を用意し、システムの `apt` は引き続き利用できるようにする必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100