Skip to content

Present install_commands instead of only install_command #715

@jaraco

Description

@jaraco

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationarea:testenv-creationfeature:newsomething does not exist yet, but shouldhelp:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions