| 1 |
# Options may be set by passing through `pip` or `build` via meson-python: |
| 2 |
# https://meson-python.readthedocs.io/en/stable/how-to-guides/config-settings.html |
| 3 |
|
| 4 |
# By default, Matplotlib downloads and builds its own copies of FreeType and of |
| 5 |
# Qhull. You may use the following options to instead link against a system |
| 6 |
# FreeType/Qhull. As an exception, Matplotlib defaults to the system version of |
| 7 |
# FreeType on AIX. |
| 8 |
option('system-freetype', type: 'boolean', value: false, |
| 9 |
description: 'Build against system version of FreeType') |
| 10 |
option('system-qhull', type: 'boolean', value: false, |
| 11 |
description: 'Build against system version of Qhull') |
| 12 |
|
| 13 |
# Some of Matplotlib's components are optional: the MacOSX backend (installed |
| 14 |
# by default on macOS; requires the Cocoa headers included with XCode). You |
| 15 |
# can control whether they are installed using the following options. Note that |
| 16 |
# the MacOSX backend is never built on Linux or Windows, regardless of the |
| 17 |
# config value. |
| 18 |
option('macosx', type: 'boolean', value: true, |
| 19 |
description: 'Enable MacOSX backend (requires Cocoa)') |
| 20 |
|
| 21 |
# User-configurable options |
| 22 |
# |
| 23 |
# Default backend, one of: Agg, Cairo, GTK3Agg, GTK3Cairo, GTK4Agg, GTK4Cairo, |
| 24 |
# MacOSX, Pdf, Ps, QtAgg, QtCairo, SVG, TkAgg, WX, WXAgg. |
| 25 |
# |
| 26 |
# The Agg, Ps, Pdf and SVG backends do not require external dependencies. Do |
| 27 |
# not choose MacOSX if you have disabled the relevant extension modules. The |
| 28 |
# default is determined by fallback. |
| 29 |
option('rcParams-backend', type: 'string', value: 'auto', |
| 30 |
description: 'Set default backend at runtime') |