bazel-contrib / bazel-contrib/rules_python
docs: update py_wheel to show prefix stripping
- Ngôn ngữ chính
- Starlark
- Star
- 688
- Fork
- 721
- Merge trung bình
- 15 giờ 7 phút
- Pull request đã merge (30 ngày)
- 76
Mô tả
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.
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Tìm hướng dẫn how-to về py_wheel và kiểm tra ví dụ hiện tại của nó cho layout dựa trên src. Sử dụng đối số py_wheel.strip_path_prefixes đã được ghi lại để minh họa quá trình chuyển đổi sang đầu ra wheel mong muốn; hoàn thành khi hướng dẫn thể hiện rõ layout kết quả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- build-system, documentation
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100