bundles / astropy 7.0.1 / astropy / config / configuration / generate_config
function
astropy.config.configuration:generate_config
source: /astropy/config/configuration.py :635
Signature
def generate_config ( pkgname = astropy , filename = None , verbose = False ) Summary
Generates a configuration file, from the list of ConfigItem objects for each subpackage.
Extended Summary
Parameters
pkgname: str or NoneThe package for which to retrieve the configuration object.
filename: str or file-like or NoneIf None, the default configuration path is taken from get_config.
Aliases
-
astropy.config.generate_config