@@ -61,7 +61,7 @@ mplcairo requires
6161- Python≥3.7,
6262- Matplotlib≥2.2 (declared as ``install_requires ``),
6363- 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).
6565
6666It is recommended to use cairo≥1.17.4.
6767
@@ -93,16 +93,15 @@ path <add_dll_directory_>`_).
9393
9494.. [# ] pycairo 1.16.0 added ``get_include() ``.
9595
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).
101100
102101 On Windows, this strategy is (AFAIK) not possible, so we explicitly link
103102 against the cairo DLL.
104103
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 .
106105
107106 cairo 1.15.4 added support for PDF metadata and links; the presence of this
108107 feature is detected at runtime.
0 commit comments