Skip to content

Move to "modern packaging" config with 'pyproject.toml' #10

@sveetch

Description

@sveetch

Since pyproject.toml have been largely adopted since the introduction in a PEP, this is time to move, even setuptools now is starting to warn about setup.cfg, so there is no more a real choice.

The TOML config file is the official new way to go since it has been validated in a PEP. However it seems not totally ready yet because of some very common packages having troubles with it:

There is a summary of common packaging tools that does not support yet the TOML config:

https://github.com/flying-sheep/awesome-python-packaging

In opposite, there is a few package now that does not support setup.cfg or even their proprietary config file like .flake8. Black is one these package, it only supports for TOML configuration and nothing else, which currently would requires to have a pyproject.toml to hold its configuration.

The benefits of TOML files are just not enough yet to migrate to it, this issue will still remain opened until Python ecosystem has resolved it, especially Flake and PIP.

Other useful discussion links related to this subject:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions