Skip to content

Commit 6506e85

Browse files
committed
fix setuptools version check
1 parent 21096c4 commit 6506e85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import find_packages, setup
44
from setuptools.version import __version__ as setuptools_version
55

6-
if tuple(map(int, setuptools_version.split("."))) < (40, 0):
6+
if tuple(map(int, setuptools_version.split(".")[:2])) < (40, 0):
77
import sys
88

99
python = sys.executable

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.7
1+
1.2.8

0 commit comments

Comments
 (0)