Skip to content

Commit 5de3458

Browse files
Make Git archives setuptools-scm compatible (#737)
Co-authored-by: Abhinav Singh <[email protected]>
1 parent 22a2705 commit 5de3458

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.git_archival.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ref-names: $Format:%D$

.gitattributes

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

0 commit comments

Comments
 (0)