File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -2173,7 +2173,7 @@ class OptionalPackageData(OptionalPackage):
2173
2173
2174
2174
class Dlls (OptionalPackageData ):
2175
2175
"""
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
2177
2177
lib/matplotlib/* directories.
2178
2178
"""
2179
2179
name = "dlls"
@@ -2184,3 +2184,15 @@ def check_requirements(self):
2184
2184
2185
2185
def get_package_data (self ):
2186
2186
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