diff options
author | Yu Yi <yiyu@google.com> | 2017-02-27 15:34:05 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2017-02-28 11:31:21 +0000 |
commit | 4229823937ad6c6395fefd51b5f617a40d4ce46b (patch) | |
tree | 8a7fa8aaf4c35e014935426f119efa2b5e34580a /examples | |
parent | ccbcf8ed221c8a9dd8313672a9fa37976ad57f2b (diff) |
Remove unnecessary python skylark rules and update example
* We already have native python rules, so the skylark
ones are no longer unnecessary now
* Leaving `load skylark rules` statement in the example
may be misleading for newcomers
Testing done:
* re-compile bazel
* use it to build example folder and run py target
``` shell
./compile.sh compile /usr/bin/bazel
/home/yiyu/opt/bazel/output/bazel build //examples:all
/home/yiyu/opt/bazel/output/bazel run //examples/py:bin
```
--
Change-Id: Icd82afff2b74e77c0bcc80687b04225baf28f6ad
Reviewed-on: https://cr.bazel.build/9070
PiperOrigin-RevId: 148646895
MOS_MIGRATED_REVID=148646895
Diffstat (limited to 'examples')
-rw-r--r-- | examples/py/BUILD | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/py/BUILD b/examples/py/BUILD index 7570f578dd..39ef8c0452 100644 --- a/examples/py/BUILD +++ b/examples/py/BUILD @@ -1,7 +1,5 @@ package(default_visibility = ["//visibility:public"]) -load("//tools/build_rules:py_rules.bzl", "py_library", "py_binary") - py_library( name = "lib", srcs = ["lib.py"], |