pypa / pipx

Install and Run Python Applications in Isolated Environments
https://pipx.pypa.io
MIT License
10.03k stars 407 forks source link

Cannot run netviel #1491

Open kode54 opened 1 month ago

kode54 commented 1 month ago

How would this feature be useful?

I am trying to run a web client for notmuch, netviel. It doesn't install any commands. It directs to install with pip, then run it with python3 -m netviel.

Describe the solution you'd like

I would like some way of installing command stubs for libraries like this.

Describe alternatives you've considered

I know of no workarounds, other than using a venv manually. My distribution manages system wide pip.

chrysle commented 1 month ago

If the script is only exposed via its runpy interface, I'm afraid we can do "net viel". You should propose to add a command as described in the Developing for pipx guide; it really isn't that much work, as a command-line interface is already in existance.