Skip to content

Handle missing git during version discovery#92

Open
HNO3Miracle wants to merge 1 commit into
thuml:masterfrom
HNO3Miracle:fix-version-discovery-without-git
Open

Handle missing git during version discovery#92
HNO3Miracle wants to merge 1 commit into
thuml:masterfrom
HNO3Miracle:fix-version-discovery-without-git

Conversation

@HNO3Miracle

Copy link
Copy Markdown

Summary:

  • Catch FileNotFoundError when git is not available during version discovery.
  • Keep source distribution builds from failing in minimal build environments.

Testing:

  • python3 setup.py --version

Signed-off-by: HNO3Miracle <xiangao.or@isrc.iscas.ac.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant