Thanks to visit codestin.com Credit goes to github.com
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 aa4d19c commit 5ac3044Copy full SHA for 5ac3044
setupext.py
@@ -918,7 +918,10 @@ def check(self):
918
return "Using local version for testing"
919
920
if sys.platform == 'win32':
921
- check_include_file(get_include_dirs(), 'ft2build.h', 'freetype')
+ try:
922
+ check_include_file(get_include_dirs(), 'ft2build.h', 'freetype')
923
+ except CheckFailed:
924
+ check_include_file(get_include_dirs(), 'freetype2\\ft2build.h', 'freetype')
925
return 'Using unknown version found on system.'
926
927
status, output = getstatusoutput("freetype-config --ftversion")
0 commit comments