From 112c120f6169c6e3d457dc64121717276d641e1f Mon Sep 17 00:00:00 2001 From: Dmitry Belyaev Date: Wed, 19 Feb 2020 14:22:43 +0300 Subject: [PATCH] + setuptools_scm_git_archive --- .git_archival.txt | 1 + .gitattributes | 1 + setup.py | 3 ++- 3 files changed, 4 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..082d6c2 --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1 @@ +ref-names: $Format:%D$ \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..82bf71c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.git_archival.txt export-subst \ No newline at end of file diff --git a/setup.py b/setup.py index 62cd02b..64510c7 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,8 @@ setuptools.setup( long_description_content_type='text/markdown', url='https://github.com/b4tman/sync_ics2gcal', use_scm_version=True, - setup_requires=['setuptools_scm'], + + setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'], packages=setuptools.find_packages(exclude=['tests']), classifiers=[ 'License :: OSI Approved :: MIT License',