@@ -177,17 +177,17 @@ def get_and_extract_tarball(urls, sha, dirname):
177
177
LOCAL_QHULL_VERSION = '2020.2'
178
178
179
179
180
- # Matplotlib build options, which can be altered using setup .cfg
181
- setup_cfg = os .environ .get ('MPLSETUPCFG' ) or 'setup .cfg'
180
+ # Matplotlib build options, which can be altered using mplsetup .cfg
181
+ mplsetup_cfg = os .environ .get ('MPLSETUPCFG' ) or 'mplsetup .cfg'
182
182
config = configparser .ConfigParser ()
183
- if os .path .exists (setup_cfg ):
184
- config .read (setup_cfg )
183
+ if os .path .exists (mplsetup_cfg ):
184
+ config .read (mplsetup_cfg )
185
185
options = {
186
186
'backend' : config .get ('rc_options' , 'backend' , fallback = None ),
187
187
'system_freetype' : config .getboolean (
188
188
'libs' , 'system_freetype' , fallback = sys .platform .startswith ('aix' )),
189
- 'system_qhull' : config .getboolean ('libs' , 'system_qhull' ,
190
- fallback = False ),
189
+ 'system_qhull' : config .getboolean (
190
+ 'libs' , 'system_qhull' , fallback = False ),
191
191
}
192
192
193
193
@@ -323,7 +323,7 @@ class OptionalPackage(SetupPackage):
323
323
324
324
def check (self ):
325
325
"""
326
- Check whether ``setup .cfg`` requests this package to be installed.
326
+ Check whether ``mplsetup .cfg`` requests this package to be installed.
327
327
328
328
May be overridden by subclasses for additional checks.
329
329
"""
0 commit comments