-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
In setupext.py, matplotlib uses pkg-config --cflags --libs freetype2 to determine where ft2build.h can be found. That works well enough except when that path is already set in either the C_INCLUDE_PATH or CPLUS_INCLUDE_PATH environment variables. If the path is in one of those then pkg-config will not return the appropriate -I/something option and compilation will fail (i.e., setupext.py will mark freetype2 as being absent, even though it's not). pkg-config is behaving correctly, since gcc/clang/etc. check these environment variables.
Would it be possible to have _check_for_pkg_config also check these environment variables. That would solve some issues on Galaxy.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels