bazel-contrib / bazel-contrib/rules_python
docs: update py_wheel to show prefix stripping
- Langage dominant
- Starlark
- Étoiles
- 688
- Forks
- 721
- Merge moyen
- 15 h 7 min
- PR mergées (30 j)
- 76
Description
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.
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Trouvez le guide pratique py_wheel et examinez son exemple actuel pour une structure basée sur src. Utilisez l’argument documenté py_wheel.strip_path_prefixes pour montrer la transformation vers la sortie wheel souhaitée ; le travail est terminé lorsque le guide présente clairement la structure obtenue.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- build-system, documentation
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100