include information for setuptools_scm in git archives (#17026)

This commit is contained in:
Kyle Altendorf 2023-12-11 10:44:05 -05:00 committed by GitHub
parent 047ccee4ec
commit 10353c83dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

4
.git_archival.txt Normal file
View File

@ -0,0 +1,4 @@
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
ref-names: $Format:%D$

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
.git_archival.txt export-subst