bazel-contrib / bazel-contrib/rules_python

docs: update py_wheel to show prefix stripping

オープン
#3,218 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
packaging type: documentation
主要言語
Starlark
スター
688
フォーク
721
平均マージ
15時間 7分
マージ済み PR(30日)
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。