Skip to content

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

Closed

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')

Activity

  1. added
    enhancement
    on Jan 13, 2020
  2. smarie commented on Jan 17, 2020

    @smarie
    OwnerAuthor

    I will fix it for now in the code, but for the long term it seems much more relevant to have it in setuptools_scm directly. I therefore opened pypa/setuptools-scm#392

  3. smarie commented on Jan 17, 2020

    @smarie
    OwnerAuthor

    Fixed in 0.5.8

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions