Skip to content

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

Description

@bigjools

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions