Skip to content

virtualenv's main should take arguments #172

Closed
@k0s

Description

@k0s

https://github.com/pypa/virtualenv/blob/develop/virtualenv.py#L672

Should be

def main(args=sys.argv[1:]):

where args are later passed to parser.parse_args; this lets virtualenv be (more) meaningfully used as an API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions