Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit27cfec2

Browse files
authored
Merge pull request#22653 from QuLogic/simpler-freetype-check
2 parents945692c +158ba2a commit27cfec2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎setupext.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
importtarfile
1515
importtextwrap
1616
importurllib.request
17-
frompackagingimportversion
1817

1918
fromsetuptoolsimportDistribution,Extension
2019

@@ -699,8 +698,7 @@ def do_custom_build(self, env):
699698
# Freetype 2.10.0+ support static builds.
700699
msbuild_config= (
701700
"Release Static"
702-
ifversion.parse(LOCAL_FREETYPE_VERSION)>=
703-
version.parse("2.10.0")
701+
if [*map(int,LOCAL_FREETYPE_VERSION.split("."))]>= [2,10]
704702
else"Release"
705703
)
706704

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp