Skip to content

make the Distribtion._path attribute public? #23

Closed
@jaraco

Description

@jaraco

In GitLab by @anthrotype on Nov 12, 2018, 11:39

It would be nice to be able to get the dist-info or egg-info metadata directory path for a given python package name.

For example, py2app would need to know where this metadata is on the filesystem in order to copy it inside the generated .app bundle

https://bitbucket.org/ronaldoussoren/py2app/issues/256/fs-module-not-fully-working-from-app

Currently one could do that with importlib_metadata via the Distribution._path attribute, however the leading underscore suggests that that is not part of the api.

Could/should it be made public (read-only perhaps)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions