File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2173,7 +2173,7 @@ class OptionalPackageData(OptionalPackage):
21732173
21742174class Dlls (OptionalPackageData ):
21752175 """
2176- On Windows, this packages any DLL files that can be found in the
2176+ On Windows, this packages any DLL files that can be found in the
21772177 lib/matplotlib/* directories.
21782178 """
21792179 name = "dlls"
@@ -2184,3 +2184,15 @@ def check_requirements(self):
21842184
21852185 def get_package_data (self ):
21862186 return {'' : ['*.dll' ]}
2187+
2188+ @classmethod
2189+ def get_config (cls ):
2190+ """
2191+ Look at `setup.cfg` and return one of ["auto", True, False] indicating
2192+ if the package is at default state ("auto"), forced by the user (True)
2193+ or opted-out (False).
2194+ """
2195+ try :
2196+ return config .getboolean (cls .config_category , cls .name )
2197+ except :
2198+ return False # <-- default
You can’t perform that action at this time.
0 commit comments