Skip to content

Provide a readable explanation when git command is not available #6

@smarie

Description

@smarie

When 'git' command is not in path, setuptools_scm get_version does not provide a readabale explanation. We should therefore rather check it upfront

from setuptools_scm import has_command
has_command('git')

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions