Skip to content

docs: update py_wheel to show prefix stripping #3218

@rickeylev

Description

@rickeylev

While talking to a user, they didn't realize py_wheel had a prefix-stripping ability.

With src-based layouts being common, I think it makes sense to update the example to show how to transform it into the desired wheel output. (This same problem would occur for a repo with multiple sub-projects, too).

Prompt:

Act as an expert in Sphinx, MyST, rules_python, Starlark, Bazel.

Update the py_wheel how to guide to show how to transform files using a src-layout.

Use the py_wheel.strip_path_prefixes arg to do this.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions