Use setuptools for project build
This MR updates the setup.py
build to use setuptools
; distutils
is deprecated and will be removed soon, see https://peps.python.org/pep-0632/.
Additionally, this MR adds pyproject.toml
, which is the new standard method for declaring the build system to other builders like pip
, see https://peps.python.org/pep-0518/.