bazel-contrib / bazel-contrib/rules_python
docs: update py_wheel to show prefix stripping
- Lenguaje dominante
- Starlark
- Estrellas
- 688
- Forks
- 721
- Merge medio
- 15 h 7 min
- PR fusionados (30 d)
- 76
Descripción
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.
```
Guía de contribución
Línea de trabajo
Locate the py_wheel how-to guide and inspect its current example for a src-based layout. Use the documented py_wheel.strip_path_prefixes argument to show the transformation to the desired wheel output; done when the guide clearly demonstrates the resulting layout.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- build-system, documentation
- Tipo de issue
- Documentación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100