m-lundberg / simple-pid

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

Define project in pyproject.toml #69

Closed m-lundberg closed 2 years ago

m-lundberg commented 2 years 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.