-
-
Notifications
You must be signed in to change notification settings - Fork 539
Description
I present a feature request, inspired by an environment where I wish to install both Python packages and node packages, similar to the request in StackOverflow 37187753.
I propose that instead of having a single command for the install step, tox could expose install_commands
, which would be more congruous with the commands
syntax. It could still accept {opts}
and {packages}
substitutions such that one (or more) of the commands could honor those options.
I suspect install_command
was originally meant as a way to provide a bridge for other Python installers, but if the concept could be generalized to provide more functionality for install, much like CI environments do in their install steps. Then, if one wanted to add a node environment to their environment, they could do something like this:
install_commands =
pip install {opts} {packages}
nodeenv --python-virtualenv --prebuilt