bazel-contrib / bazel-contrib/rules_python

py_common API

未关闭
#1,647 23 条评论 1 个 reaction 已指派 1 人 已被 @rickeylev 认领 在 GitHub 查看
P4 type: feature request
主要语言
Starlark
星标
688
派生
721
平均合并
15 小时 7 分钟
30 天内合并 PR
76

描述

### Description of the feature request:

Similar to [cc_common](https://bazel.build/rules/lib/cc_common) is there a `py_common` available?

### What underlying problem are you trying to solve with this feature?

I would like to have some rules which generate additional actions but would otherwise be interchangeable with a [py_library](https://bazel.build/reference/be/python#py_library). I've done similar things before using the `cc_common` API but cannot find one for python.

### Which operating system are you running Bazel on?

Any

### What is the output of `bazel info release`?

release 5.1.1

### If `bazel info release` returns `development version` or `(@non-git)`, tell us how you built Bazel.

_No response_

### What's the output of `git remote get-url origin; git rev-parse master; git rev-parse HEAD` ?

_No response_

### Have you found anything relevant by searching the web?

_No response_

### Any other information, logs, or outputs that you want to share?

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。