Skip to content

Commit 670e532

Browse files
Merge pull request #226 from pikacic/patch-1
Fix support for old version of setuptools
2 parents 6e9b5dd + 7821da8 commit 670e532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools_scm/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def tag_to_version(tag):
4747
# also required for old versions of setuptools
4848

4949
version = tag.rsplit('-', 1)[-1].lstrip('v')
50-
if parse_version is None:
50+
if VERSION_CLASS is None:
5151
return version
5252
version = parse_version(version)
5353
trace('version', repr(version))

0 commit comments

Comments
 (0)