bazel-contrib / bazel-contrib/rules_python

py_common API

Open
#1,647 23 comments 1 reaction 1 assignee Claimed by @rickeylev View on GitHub
P4 type: feature request
Dominant language
Starlark
Stars
688
Forks
721
Avg merge
14h 49m
Merged PRs (30d)
81

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.