Skip to content

PEP794: Add import names to project config #558

@jl-wynen

Description

@jl-wynen

PEP794 introduces a way to list which modules are installed with a package. This directly applies to ess* because our package names on pypi do not match our import names. I think it works like this: e.g., for ESSsans, we would define

[project]
name = "esssans"
import-names = ["ess.isissans", "ess.loki", "ess.sans"]
import-namespaces = ["ess"]

This is supposed to help tools understand your dependencies. I am not aware of any tool using it yet, but it may still be good to implement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions