TissueEngineeringLab / MyoFInDer

Python interface for automatic calculation of the fusion index in muscle cell cultures
https://tissueengineeringlab.github.io/MyoFInDer/
GNU General Public License v3.0
4 stars 1 forks source link

Move metadata from `setup.py` to `pyproject.toml` #22

Closed WeisLeDocto closed 8 months ago

WeisLeDocto commented 9 months ago

After the changes to Python's packages build system brought in PEP 518, and later PEP 517 and PEP 621, the standard way to provide information to the build system is to use a pyproject.toml file. The setup.py file should now be used only for complex builds with the setuptools backend.

In MyoFInDer, a pyproject.toml file was added since the very first release for building the tarball and the wheel before uploading to PyPI. It only contains the minimal mandatory fields for building with setuptools, but all the metadata is still contained in setup.py.

To keep the project up-to-date with the evolution of the build system in Python, the project metadata should be moved from setup.py to pyproject.toml. This will allow to get rid of the setup.py file, and of the requirements.txt as well.