jazzband / django-waffle

A feature flipper for Django
https://waffle.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.12k stars 258 forks source link

Migrate metadata from setup.py and setup.cfg to pyproject.toml #475

Closed cclauss closed 1 year ago

cclauss commented 1 year ago

This pull request was created using https://pypi.org/project/setuptools-py2cfg plus manual modifications.

https://setuptools.pypa.io/en/latest/userguide/quickstart.html#basic-use

We recommend users expose as much as possible configuration in a more declarative way via the pyproject.toml or setup.cfg, and keep the setup.py minimal with only the dynamic parts (or even omit it completely if applicable).


Migrate to pyproject.toml using ini2toml to do the file conversion and then run validate-pyproject to validate the results.

https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html