Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5317715

Browse files
committed
Remove unused setupext.is_min_version.
1 parent f58c933 commit 5317715

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

setupext.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import builtins
22
import configparser
3-
from distutils import sysconfig, version
3+
from distutils import sysconfig
44
from distutils.core import Extension
55
from io import BytesIO
66
import glob
@@ -171,13 +171,6 @@ def write_cache(local_fn, data):
171171
options['local_freetype'] = lft or options.get('local_freetype', False)
172172

173173

174-
def is_min_version(found, minversion):
175-
"""
176-
Returns whether *found* is a version at least as high as *minversion*.
177-
"""
178-
return version.LooseVersion(found) >= version.LooseVersion(minversion)
179-
180-
181174
# Define the display functions only if display_status is True.
182175
if options['display_status']:
183176
def print_line(char='='):

0 commit comments

Comments
 (0)