Add support for sdists and git-archive to _get_version() (#5814)

Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
Jakub Kuczys
2022-12-30 03:52:49 +01:00
committed by GitHub
parent fa6b2f8c10
commit 88a348210c
3 changed files with 80 additions and 33 deletions

3
.gitattributes vendored
View File

@@ -2,3 +2,6 @@
# binary file excludsions
*.png binary
# include commit/tag information in `.git_archive_info.txt` when packing with git-archive
.git_archive_info.txt export-subst