Skip to content

DistConfigBuilder.register_distrib_units assumes first occurrence of ampel is in site-packages #329

@jvansanten

Description

@jvansanten

This prevents configs from being built from an editable install in a path with any element ending with the string "ampel", e.g. /Users/foo/work/some_stuff_for_ampel/Ampel-HU-astro causes register_distrib_units to attempt to import a module called ampel.Ampel-HU-astro. The same issue likely arises if the venv path has any parent element ending in ampel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions