m-lundberg / simple-pid

A simple and easy to use PID controller in Python
MIT License
767 stars 209 forks source link

Define project in pyproject.toml #69

Closed m-lundberg closed 1 year ago

m-lundberg commented 1 year ago

For a modern Python packaging approach this project will start using pyproject.toml. This PR introduces such a file that replaces the old setup.py. Tests have been made by building the package using python -m build with setuptools as backend.

The initial plan was to replace both setup.py and setup.cfg with the toml file, but unfortunately flake8 does not support configuration in pyproject.toml yet. When support is added, setup.cfg can be removed completely.