Skip to content

Install on OpenBSD and FreeBSD #18088

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ FreeType and Qhull
Matplotlib depends on `FreeType <https://www.freetype.org/>`_ (>=
2.3), a font rendering library, and on `Qhull
<http://www.qhull.org/>`_ (>= 2015.2), a library for computing
triangulations. By default (except on AIX) Matplotlib downloads and
builds its own copy of FreeType (this is necessary to run the test
suite, because different versions of FreeType rasterize characters
triangulations. By default (except on AIX, OpenBSD and FreeBSD) Matplotlib
downloads and builds its own copy of FreeType (this is necessary to run the
test suite, because different versions of FreeType rasterize characters
differently), and uses its own copy of Qhull.

To force Matplotlib to use a copy of FreeType or Qhull already installed in
Expand Down
3 changes: 2 additions & 1 deletion setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def download_or_cache(url, sha):
options = {
'backend': config.get('rc_options', 'backend', fallback=None),
'system_freetype': config.getboolean(
'libs', 'system_freetype', fallback=sys.platform.startswith('aix')),
'libs', 'system_freetype',
fallback=sys.platform.startswith(('aix', 'openbsd', 'freebsd'))),
'system_qhull': config.getboolean('libs', 'system_qhull',
fallback=False),
}
Expand Down