Skip to content

Configuration to exclude/rewrite tag names? #1072

@dbarnett

Description

@dbarnett

It would be nice to be able to customize what tag names setuptools-scm considers as the version for a package, and to be able to rewrite the literal tag name to do things like strip a known prefix.

Motivation: I have a repo https://github.com/dbarnett/vim-plugin-metadata that contains both a core implementation rust package and a python interface. I've been tagging the core versions with vx.y.z and the python interface versions with py-vx.y.z, but I can't find any configuration options to hook up the python project to just the py-v* tags and ignore the others.

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