jni / skan

Python module to analyse skeleton (thin object) images
https://skeleton-analysis.org
BSD 3-Clause "New" or "Revised" License
118 stars 38 forks source link

Standardise package configuration on pyproject.toml #213

Closed ns-rse closed 10 months ago

ns-rse commented 11 months ago

The Python Packaging Authority (PyPA) is standardising on using pyproject.toml for package configuration[^1][^2] rather than setup.cfg and/or setup.py.

It should be fairly straight-forward to port the existing configuration from setup.cfg to pyproject.toml. At the same time setuptools_scm could be employed to automate versioning based on Git Tags, in turn releases to PyPI could then be automated with a GitHub workflow in a similar manner to how GitHub releases are built (separate issue).

Happy to take on the work for this @jni if you think its something worth doing.

[^1]: PEP621 – Storing project metadata in pyproject.toml [^2]: Packaging Python Projects

jni commented 11 months ago

I'm definitely into this! It looks like you've already done all or most of the work, but for reference I just came across this project:

https://github.com/diazona/setuptools-pyproject-migration

jni commented 10 months ago

Closed by #216, #217