10000 Merge pull request #13895 from anntzer/isminver · matplotlib/matplotlib@bc4c4cc · GitHub
[go: up one dir, main page]

Skip to content

Commit bc4c4cc

Browse files
authored
Merge pull request #13895 from anntzer/isminver
Remove unused setupext.is_min_version.
2 parents 2f32fd8 + 5317715 commit bc4c4cc

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)
0