From 4b42b7b885708c41193fa3fb12315fae02b8313e Mon Sep 17 00:00:00 2001 From: briandesilva Date: Mon, 12 Oct 2020 18:25:53 -0700 Subject: [PATCH] Add config files for setuptools_scm_git_archive --- .git_archival.txt | 1 + .gitattributes | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .git_archival.txt diff --git a/.git_archival.txt b/.git_archival.txt new file mode 100644 index 0000000..95cb3ee --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1 @@ +ref-names: $Format:%D$ diff --git a/.gitattributes b/.gitattributes index 7ff392f..898031a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,5 @@ # Interpret Jupyter notebooks as Python -*.ipynb linguist-language=Python \ No newline at end of file +*.ipynb linguist-language=Python + +# For automatic versioning via setuptools_scm_git_archive +.git_archival.txt export-subst \ No newline at end of file