bazel-contrib / bazel-contrib/rules_python
docs: update py_wheel to show prefix stripping
未关闭
packaging
type: documentation
- 主要语言
- Starlark
- 星标
- 688
- 派生
- 721
- 平均合并
- 15 小时 7 分钟
- 30 天内合并 PR
- 76
描述
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.
```
贡献指南
调研方向
找到 py_wheel 操作指南,并检查其中针对基于 src 的布局的当前示例。使用文档中记录的 py_wheel.strip_path_prefixes 参数,展示转换为所需 wheel 输出的过程;当指南清楚地演示出最终布局时即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system, documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100