bazel-contrib / bazel-contrib/rules_python

doc: howto configure bazel downloader with pip.parse

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

説明

I think I've seen this question a few times: I want to customize where wheels are downloaded from. What parameters do I set in (pip.parse or compile_pip_requirements) to do that?

When the answer is non-obvious: use bazel downloader to redirect the url requests.

This is mentioned in the regular pypi docs, but only briefly; it's easy to overlook.

We should give an example in the docs on how to do this.

A dedicated "how to" sub-directory of docs is probably a good idea. It'll be a good place to put prose documentation that draws people in, and we can easily expand it with arbitrary topics and content without it feeling out of place or bloating the more dry/technical/reference docs.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reviewing the existing PyPI documentation and the references to pip.parse and compile_pip_requirements. Add a how-to example showing how Bazel downloader redirects wheel URL requests, and organize it in a dedicated how-to documentation area if appropriate; done means the configuration is clearly documented for users customizing download locations.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
半日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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