From 4229823937ad6c6395fefd51b5f617a40d4ce46b Mon Sep 17 00:00:00 2001 From: Yu Yi Date: Mon, 27 Feb 2017 15:34:05 +0000 Subject: 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 --- examples/py/BUILD | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples') 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"], -- cgit v1.2.3