From dc4de8fdc710eb1324d2ca2faaa6581a58c9ed0c Mon Sep 17 00:00:00 2001 From: Maximilian Maahn Date: Fri, 13 May 2022 22:17:25 +0200 Subject: [PATCH] fixed installation from github archive through setuptools_scm_git_archive --- .git_archival.txt | 1 + .gitattributes | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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..95cb3ee --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1 @@ +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 diff --git a/setup.py b/setup.py index 38d09c6..f78030b 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ 'Topic :: Scientific/Engineering', ], install_requires=['numpy', 'matplotlib', 'pandas', 'scipy', 'importlib-metadata'], - setup_requires=['setuptools_scm'], + setup_requires=['setuptools_scm','setuptools_scm_git_archive'], long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/maahn/pyOptimalEstimation',