File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -170,12 +170,13 @@ etc., you can install the following:
170
170
FreeType and Qhull
171
171
------------------
172
172
173
- Matplotlib depends on `FreeType <https://www.freetype.org/ >`_ (>= 2.3), a
174
- font rendering library, and on `Qhull <http://www.qhull.org/ >`_ (>= 2015.2),
175
- a library for computing triangulations. By default, Matplotlib downloads and
176
- builds its own copy of FreeType (this is necessary to run the test suite,
177
- because different versions of FreeType rasterize characters differently), and
178
- uses its own copy of Qhull.
173
+ Matplotlib depends on `FreeType <https://www.freetype.org/ >`_ (>=
174
+ 2.3), a font rendering library, and on `Qhull
175
+ <http://www.qhull.org/> `_ (>= 2015.2), a library for computing
176
+ triangulations. By default (except on AIX) Matplotlib downloads and
177
+ builds its own copy of FreeType (this is necessary to run the test
178
+ suite, because different versions of FreeType rasterize characters
179
+ differently), and uses its own copy of Qhull.
179
180
180
181
To force Matplotlib to use a copy of FreeType or Qhull already installed in
181
182
your system, create a :file: `setup.cfg ` file with the following contents:
Original file line number Diff line number Diff line change @@ -137,8 +137,8 @@ def download_or_cache(url, sha):
137
137
config .read (setup_cfg )
138
138
options = {
139
139
'backend' : config .get ('rc_options' , 'backend' , fallback = None ),
140
- 'system_freetype' : config .getboolean ('libs' , 'system_freetype' ,
141
- fallback = False ),
140
+ 'system_freetype' : config .getboolean (
141
+ 'libs' , 'system_freetype' , fallback = sys . platform . startswith ( 'aix' ) ),
142
142
'system_qhull' : config .getboolean ('libs' , 'system_qhull' ,
143
143
fallback = False ),
144
144
}
You can’t perform that action at this time.
0 commit comments