Make Git archives `setuptools-scm` compatible (#737)

Co-authored-by: Abhinav Singh <126065+abhinavsingh@users.noreply.github.com>
This commit is contained in:
Sviatoslav Sydorenko 2021-11-18 01:04:01 +01:00 committed by GitHub
parent 22a2705e1d
commit 5de3458f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

1
.git_archival.txt Normal file
View File

@ -0,0 +1 @@
ref-names: $Format:%D$

5
.gitattributes vendored Normal file
View File

@ -0,0 +1,5 @@
# Force LF line endings for text files
* text=auto eol=lf
# Needed for setuptools-scm-git-archive
.git_archival.txt export-subst