1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 7 Dec 2019 09:16:27 +0100
Subject: No setuptools-scm
Forwarded: not-needed
---
setup.cfg | 8 ++++----
setup.py | 16 ++++++++--------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/setup.cfg b/setup.cfg
index 0628c31..94e5892 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,7 @@
-[options]
-setup_requires =
- setuptools_scm
- setuptools_scm_git_archive
+#[options]
+#setup_requires =
+# setuptools_scm
+# setuptools_scm_git_archive
[bdist_rpm]
diff --git a/setup.py b/setup.py
index d077408..5249ebc 100644
--- a/setup.py
+++ b/setup.py
@@ -25,13 +25,13 @@ from setuptools import setup, find_packages
import os.path
-try:
- # HACK: https://github.com/pypa/setuptools_scm/issues/190#issuecomment-351181286
- # Stop setuptools_scm from including all repository files
- import setuptools_scm.integration
- setuptools_scm.integration.find_files = lambda _: []
-except ImportError:
- pass
+# try:
+# # HACK: https://github.com/pypa/setuptools_scm/issues/190#issuecomment-351181286
+# # Stop setuptools_scm from including all repository files
+# import setuptools_scm.integration
+# setuptools_scm.integration.find_files = lambda _: []
+# except ImportError:
+# pass
description = ('Reading and manipulaing satellite sensor spectral responses and the '
@@ -105,5 +105,5 @@ setup(name=NAME,
tests_require=test_requires,
python_requires='>=3.7',
zip_safe=False,
- use_scm_version=True
+ # use_scm_version=True
)
|