This change moves the logic for computing the package name part of an import directory from python_rules.bzl to protobuf.bzl, and reinstates the workspace root part of the directory. The effect is that it is now possible for a py_library_rule to depend on a proto_library in a different repository whose source files are generated. |
||
|---|---|---|
| .. | ||
| in_subpackage | ||
| namespaced/upper/example | ||
| subdir | ||
| tools | ||
| .gitignore | ||
| BUILD | ||
| README.md | ||
| WORKSPACE | ||
| helloworld.proto | ||
| helloworld.py | ||
| helloworld_moved.py | ||
| import_from_proto_library_package.py | ||
| import_from_this_package.py | ||
| transitive_proto_dep.py | ||
README.md
Bazel Workspace Test
This directory houses a test ensuring that downstream projects can use
@com_github_grpc_grpc//src/python/grpcio:grpcio, py_proto_library, and
py_grpc_library.