Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bc4c4cc

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-8
lines changed

‎setupext.py

Copy file name to clipboardExpand all lines: setupext.py
+1-8Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.