We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e7e4a6 commit 8ef38a7Copy full SHA for 8ef38a7
setup.py
@@ -65,17 +65,5 @@
65
print(DOCS_HELP)
66
sys.exit(1)
67
68
-VERSION_TEMPLATE = """
69
-# Note that we need to fall back to the hard-coded version if either
70
-# setuptools_scm can't be imported or setuptools_scm can't determine the
71
-# version, so we catch the generic 'Exception'.
72
-try:
73
- from setuptools_scm import get_version
74
- version = get_version(root='..', relative_to=__file__)
75
-except Exception:
76
- version = '{version}'
77
-""".lstrip()
78
-
79
-setup(use_scm_version={'write_to': os.path.join('specreduce', 'version.py'),
80
- 'write_to_template': VERSION_TEMPLATE},
+setup(use_scm_version={'write_to': os.path.join('specreduce', 'version.py')},
81
ext_modules=get_extensions())
0 commit comments