-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for default groups #1322
Comments
Hmm, you mean whenever installing a library, a |
@chrysle just to clarify, I don't think This was inspired by a conversation I had with @dbanty, as we were chatting about default dependencies (inspired by cargo: https://doc.rust-lang.org/cargo/reference/features.html)
Yeah probably, I wonder if there's something we can add in the package metadata for that? Also maybe it could be better to use a Also, I'm totally fine with closing this issue if you don't think is a good addition :D |
Hi there!
I have a project that has an option command line interface, which can be installed via
pip install lib[cli]
This is not a big deal, but I was wondering if
pipx
could support a default group for when running/installing a library, so users would only need to runpipx run lib
(orpipx install lib
)This would remove some friction in using the cli from my library, and also prevent some small issue like quoting (some shells don't like the
[]
syntax 😊)Maybe pipx could check if there's a
cli
group, or maybe we can add some metadata on the package?Not sure if all of these are feasible 😊
Another option on myside would be to check if the dependencies are missing and tell the user to run
install/run lib[cli]
, but I'd like to avoid one extra step if possibile 😊The text was updated successfully, but these errors were encountered: