@@ -61,7 +61,7 @@ mplcairo requires
61
61
- Python≥3.7,
62
62
- Matplotlib≥2.2 (declared as ``install_requires ``),
63
63
- on Linux and macOS, pycairo≥1.16.0 [# ]_ (declared as ``install_requires ``),
64
- - on Windows, cairo≥1.11.4 [# ]_ (shipped with the wheel).
64
+ - on Windows, cairo≥1.13.1 [# ]_ (shipped with the wheel).
65
65
66
66
It is recommended to use cairo≥1.17.4.
67
67
@@ -93,16 +93,15 @@ path <add_dll_directory_>`_).
93
93
94
94
.. [# ] pycairo 1.16.0 added ``get_include() ``.
95
95
96
- We do not actually rely on pycairo's Python bindings. Rather, specifying a
97
- dependency on pycairo is a convenient way to specify a dependency on cairo
98
- (≥1.13.1, for pycairo≥1.14.0) itself, and allows us to load cairo at
99
- runtime instead of linking to it (simplifying the build of self-contained
100
- wheels).
96
+ We do not actually rely on pycairo's Python bindings. Rather, the
97
+ dependency on pycairo (≥1.16.0) conveniently specifies a dependency on
98
+ cairo (≥1.13.1) itself, and allows us to load cairo at runtime instead of
99
+ linking to it (simplifying the build of self-contained wheels).
101
100
102
101
On Windows, this strategy is (AFAIK) not possible, so we explicitly link
103
102
against the cairo DLL.
104
103
105
- .. [# ] cairo 1.11.4 added mesh gradient support (used by `` draw_quad_mesh() ``) .
104
+ .. [# ] cairo 1.13.1 matches the oldest version supported by pycairo 1.16.0 .
106
105
107
106
cairo 1.15.4 added support for PDF metadata and links; the presence of this
108
107
feature is detected at runtime.
0 commit comments