{ } Raw JSON

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 None

The package for which to retrieve the configuration object.

filename : str or file-like or None

If None, the default configuration path is taken from get_config.

Aliases

  • astropy.config.generate_config