Skip to content

handle missing/unavailiable scm in file finder #317

@jaraco

Description

@jaraco

In recently supporting a private project, we found that the project would install, but its package-data was missing. The project was relying on setuptools_scm file finders to find those files and include them in the manifest, but when git was not installed, the finder passed silently (by design, per #81). For projects like this, that do rely on the SCM being present, it would be nice to fail with a nice error message.

This project should consider revisiting the choice in #81 or add an option to fail when the SCM is needed but unavailable.

The setuptools docs indicate that a missing tool should not fail, but could log a warning. Perhaps logging a warning is the appropriate thing (or perhaps that's what already happens).

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions