8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223b2b1 commit 158ba2aCopy full SHA for 158ba2a
setupext.py
@@ -14,7 +14,6 @@
14
import tarfile
15
import textwrap
16
import urllib.request
17
-from packaging import version
18
19
from setuptools import Distribution, Extension
20
@@ -699,8 +698,7 @@ def do_custom_build(self, env):
699
698
# Freetype 2.10.0+ support static builds.
700
msbuild_config = (
701
"Release Static"
702
- if version.parse(LOCAL_FREETYPE_VERSION) >=
703
- version.parse("2.10.0")
+ if [*map(int, LOCAL_FREETYPE_VERSION.split("."))] >= [2, 10]
704
else "Release"
705
)
706
0 commit comments