spinach icon indicating copy to clipboard operation
spinach copied to clipboard

Use setuptools_scm instead of hard-coding version in const.py

Open bigjools opened this issue 1 year ago • 0 comments

It's impossible to do a release from the gitub releases page as the build version is hard-coded in the spinach/const.py file, which is picked up by setup.py.

We can use setuptools_scm instead which will get the version from the git tag.

While we're at it, convert to a modern pyproject.toml and use Hatch to build.

bigjools avatar Feb 28 '24 02:02 bigjools