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
diff --git a/examples/py_native/fail.py b/examples/py_native/fail.py
index a505ac4..98e35f4 100644
--- a/examples/py_native/fail.py
+++ b/examples/py_native/fail.py
@@ -1,6 +1,6 @@
"""A tiny example binary for the native Python rules of Bazel."""
import unittest
-from lib import GetNumber
+from examples.py_native.lib import GetNumber
class TestGetNumber(unittest.TestCase):