Skip to content

Commit 7821da8

Browse files
authored
Fix support for old version of setuptools
1 parent 6e9b5dd commit 7821da8

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)