diff --git a/pyproject.toml b/pyproject.toml index 960d25b6cad4e0a35be89141fce004bfb05881ef..5e152607e8a54fa032fc57f9c34c0c3cf1bb2a4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,12 +103,13 @@ invenio_config_tuw = "invenio_config_tuw.tasks" invenio_config_tuw_tiss = "invenio_config_tuw.tiss.tasks" invenio_config_tuw_curations = "invenio_config_tuw.curations.tasks" +# note: similar to above, we try to get listed *after* all the "invenio_*" entrypoints +# so that we can override other packages' configuration items, but still get +# executed before "invenio.cfg" (so that the values there take precedence) +# unlike above, the lexicographic sorting is performed by `Invenio-Config` +# out of the box [project.entry-points."invenio_config.module"] -# note: configs are loaded by `Invenio-Config` in lexicographic order of their -# entrypoint names, and we want to override the other configs here -# while not overriding `invenio.cfg` -# (which could be done in the ext.init_config(app) method) -zzz_invenio_config_tuw = "invenio_config_tuw.config" +tuw_config = "invenio_config_tuw.config" # Configuration for tools # -----------------------