Skip to content

Add contents of non-Python modules into Python modules #515

Description

@ehogan

To simplify the creation of the cmewpy package (#511), accessing content via non-Python modules from Python modules should be minimised.

While it is possible to access content via non-Python modules from Python modules (as CMEW is doing already by determining the relative path to the non-Python module from Path(__file__)), adding non-Python modules to a Python package requires extra configuration. These both increase complexity.

Adding content to Python modules means the content can be imported, which will simplify the code and the creation of the cmewpy package.

etc files:

  • ./app/configure_for/etc/recipe_paths.yml (although this may be removed following Remove fetch_recipe.py #514)
  • ./app/configure_standardise/etc/request_defaults.yml
  • ./app/configure_standardise/etc/streams.yml

Mock data:

KGOs (these are more likely to need to be files on disk, but still worth reviewing):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions