From 535540aa8eed1e6ab56a8ff9875ed846929b6e19 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 19 Feb 2023 10:06:54 -0500 Subject: [PATCH] add git archive settings for setuptools_scm --- .git_archival.txt | 5 +++++ .gitattributes | 1 + 2 files changed, 6 insertions(+) create mode 100644 .git_archival.txt create mode 100644 .gitattributes diff --git a/.git_archival.txt b/.git_archival.txt new file mode 100644 index 0000000..f64478f --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1,5 @@ +# https://github.com/pypa/setuptools_scm +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ +ref-names: $Format:%D$ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..00a7b00 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.git_archival.txt export-subst