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 ec11832

Browse filesBrowse files
committed
Fixes TypeError when installing without freetype
1 parent 6ed9211 commit ec11832
Copy full SHA for ec11832

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎setupext.py

Copy file name to clipboardExpand all lines: setupext.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ def check(self):
937937

938938
# Early versions of freetype grep badly inside freetype-config,
939939
# so catch those cases. (tested with 2.5.3).
940-
if 'No such file or directory\ngrep:' in version:
940+
if version is None or 'No such file or directory\ngrep:' in version:
941941
version = self.version_from_header()
942942

943943
return self._check_for_pkg_config(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.