diff --git a/.git_archival.txt b/.git_archival.txt new file mode 100644 index 000000000..3e26627d4 --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1,3 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true)$ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..00a7b00c9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.git_archival.txt export-subst diff --git a/hatch.toml b/hatch.toml index dca8f8565..04606579a 100644 --- a/hatch.toml +++ b/hatch.toml @@ -17,3 +17,6 @@ packages = [ [version] source = 'vcs' + +[version.raw-options] +root = '.'