Skip to content

Commit

Permalink
Remove mention of pkg_resources in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 4, 2023
1 parent f69e38a commit b7a44d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/lsst.daf.butler/configuring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The main sections of the YAML file are handled separately by each sub configurat
Each config specialization, registry, schema, storage class, composites, and dimensions knows the name of the key for its own section of the configuration and knows the names of files providing overrides and defaults for the configuration.
Additionally, if the sub configuration contains a ``cls`` key, that class is imported and an additional configuration file name can be provided by asking the class for its defaultConfigFile property.
All the keys within a sub configuration are processed by the class constructed from ``cls``.
The primary source of default values comes from the ``configs`` resource (accessed using `pkg_resources` and package ``lsst.daf.butler``) –- this directory contains YAML files matching the names specified in the sub config classes and also can include names specified by the corresponding component class (for example `~lsst.daf.butler.datastores.fileDatastore.FileDatastore` specifies that configuration should be found in ``datastores/fileDatastore.yaml``.
The primary source of default values comes from the ``configs`` resource (accessed using `importlib.resources` and package ``lsst.daf.butler``) –- this directory contains YAML files matching the names specified in the sub config classes and also can include names specified by the corresponding component class (for example `~lsst.daf.butler.datastores.fileDatastore.FileDatastore` specifies that configuration should be found in ``datastores/fileDatastore.yaml``.
There are additional search paths that can be included when a config object is constructed:

1. Explicit list of directory paths to search passed into the constructor.
Expand Down

0 comments on commit b7a44d6

Please sign in to comment.