3 ms·
Because I hate the "this ship has sailed" argument about pyproject.toml, here are some github usage stats: - setup.py: 1,259,007 results (https://github.com/se
by sametmax 8y ago
Because I hate the "this ship has sailed" argument about pyproject.toml, here are some github usage stats:
- setup.py: 1,259,007 results (https://github.com/search?q=filename%3Asetup.py https://github.com/search?q=filename%3Asetup.py)
- setup.cfg: 165,716 results (https://github.com/search?q=filename%3Asetup.cfg https://github.com/search?q=filename%3Asetup.cfg)
- pyproject.toml: 2,137 results (https://github.com/search?q=filename%3Apyproject.toml https://github.com/search?q=filename%3Apyproject.toml)
Also, remember that setup.cfg is completly compatible with setup.py, the migration is painless. All the legacy tools work. Not the case with pyproject.toml.
- Kwpolska 8y agosetup.cfg isn't always used as a setup.py replacement. I use it for configuring flake8, wheel, pytest and coverage: https://github.com/Kwpolska/python-project-template/blob/master/%7B%7Bcookiecutter.repo_name%7D%7D/setup.cfg https://github.com/Kwpolska/python-project-template/blob/mas...