-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix unable to find Freefont on Ubuntu 14.04 #3032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is almost identical to #3032. |
You mean #3067 is almost identical to this? :) |
@@ -906,6 +906,14 @@ def check(self): | |||
'freetype2', 'ft2build.h', | |||
min_version='2.4', version=version) | |||
|
|||
def get_extension(self): | |||
ext = make_extension('test', []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this string 'test'?
Details..... |
For the same reason why
has Jesting aside, I'm happy to close this in favour of #3067, looks better formatted anyway (and passes tests?). |
The other difference is that this PR calls I would rather keep both open for now and close one once it is sorted out. |
Ah sorry, I didn't noticed that there was already a fix for the problem. |
@razius Could you explain the differences between the two patches? |
Apart from some syntax differences this also calls the https://github.com/matplotlib/matplotlib/blob/master/setupext.py#L910 |
Closed as #3067 is merged. |
Ensure that
.add_flags
is called for Freefont when building from source.Otherwise we only look in
['/usr/local/include', '/usr/include', '.']
, and none of these contain Freefont on Ubuntu 14.04.Solves #3029.