Skip to content

Accept string in PEP 517 config_settings #2528

@FFY00

Description

@FFY00

As discussed in pypa/build#202, it would be great if setuptools could accept strings, instead of only lists, in the PEP 517 config_settings hooks variable.

It would make the following dictionary valid.

{
    '--global-setting': '--something',
}

Currently, setuptools seems to only accept a list.

{
    '--global-setting': ['--something'],
}

Which is difficult to expose in a CLI interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs InvestigationIssues which are likely in scope but need investigation to figure out the causeenhancementproposal

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions