diff options
author | lberki <lberki@google.com> | 2018-02-14 15:12:23 +0100 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2018-02-14 15:54:48 +0100 |
commit | fa0fac2a4e8a2e5c01b8390878289d00dcc17dba (patch) | |
tree | 848acb70c03d5cbccd1c30234bef513a4a871f40 /examples/py_native/BUILD | |
parent | 0f9c6ea574918dda094cf5423fa3822112846c30 (diff) |
Automated rollback of commit 0f9c6ea574918dda094cf5423fa3822112846c30.
*** Reason for rollback ***
Breaks Kokoro and I accidentally submitted the change without presubmit checks.
*** Original change description ***
Make __init__.py files creation optional
Introduce a new attribute to py_binary and py_test to control whether to
create `__init__.py` or not.
Fixes https://github.com/bazelbuild/rules_python/issues/55
Closes #4470.
PiperOrigin-RevId: 185676592
Diffstat (limited to 'examples/py_native/BUILD')
-rw-r--r-- | examples/py_native/BUILD | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/py_native/BUILD b/examples/py_native/BUILD index aafa7b77c7..9d52fd6848 100644 --- a/examples/py_native/BUILD +++ b/examples/py_native/BUILD @@ -10,7 +10,6 @@ filegroup( py_binary( name = "bin", srcs = ["bin.py"], - legacy_create_init = False, deps = [ ":lib", "//examples/py_native/fibonacci", @@ -25,7 +24,6 @@ py_library( py_test( name = "test", srcs = ["test.py"], - legacy_create_init = False, deps = [ ":lib", "//examples/py_native/fibonacci", @@ -35,6 +33,5 @@ py_test( py_test( name = "fail", srcs = ["fail.py"], - legacy_create_init = False, deps = [":lib"], ) |