Skip to content

[TODO] detect when in wheel seems to be more challenging and pkgutil.get_data() might be necessary #165

@nfx

Description

@nfx

See more context:

this_path = Path(__file)
# TODO: detect when in wheel seems to be more challenging and pkgutil.get_data() might be necessary
for leaf in ("pyproject.toml", "setup.py"):
root = find_dir_with_leaf(this_path, leaf)
if root is not None:
return root

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions