-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Feature Request]: pipx-package should allow to install multiple packages #89
Comments
In general, For example,
$nanolayer_location \
install \
devcontainer-feature \
"ghcr.io/devcontainers-extra/features/pipx-package:1.1.9" \
--option package='ansible-core' --option injections='ansible' --option version="$VERSION" So if you need a dependency for your utility, then you can use For example, {
"name": "Ubuntu",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers-extra/features/pipx-package:1": {
"package": "ansible-core",
"injections": "ansible"
}
}
} If you need to manage a set of packages for your project/app, then maybe a better approach is to use poetry (can be installed with I'd like to learn more about your use case for this. There might be something I'm missing. |
Theoretically I could also do this with The use-case for me is simple. The whole feature I only discovered by chance. |
Ah, okay, I see, thanks for explaining. It would be useful to install multiple packages indeed. This will require a bigger change though - The feature should still allow us to install injections, and install them for a specific package. For example, I should be able to install two packages: In meantime, I can package a new feature for |
@torsknod2 |
Requested Feature
pipx-package should allow to install multiple packages.
In addition to the
package
property, I suggest a propertypackages
, which would be a dictionary/ map, which has the package name as keys and the version (or by default latest) as the values.The text was updated successfully, but these errors were encountered: