Skip to content

Schema paths with only package name won't load #115

@StokesMIDE

Description

@StokesMIDE

In SCHEMA_PATH, package-relative paths containing only the package name don't work; even though idelib.schemata is a valid, importable submodule, "{idelib.schemata}" doesn't work. It will work if followed by a slash ("{idelib.schemata}/"), however. This works, but it would be nice if the package names could be kept 'pure', as opposed to a combination of a module name and a filesystem path.

The simplest fix would be to have core._expandSchemaPath() include a slash if the path ends with a brace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SchemaRelated to the EBML schematadevelopmentDevelopment issues: package deployment, project organization, etc.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions