From 2ffdd23faad153c5cec763b6e210befc9d704cd1 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Fri, 16 Sep 2022 17:06:00 +0100 Subject: [PATCH] add .git_archival.txt and .gitattributes to support instralling from git archives https://github.com/pypa/setuptools_scm#git-archives --- .git_archival.txt | 4 ++++ .gitattributes | 1 + 2 files changed, 5 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 00000000..3994ec0a --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1,4 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true)$ +ref-names: $Format:%D$ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..00a7b00c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.git_archival.txt export-subst