Skip to content

Commit a1b20b2

Browse files
authored
feat(build): Add Git archives version files (#58)
1 parent 652f8f2 commit a1b20b2

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.git_archival.txt

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

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.git_archival.txt export-subst

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2"]
2+
requires = ["setuptools>=61", "setuptools_scm[toml]>=7"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

0 commit comments

Comments
 (0)