From 0f9c6ea574918dda094cf5423fa3822112846c30 Mon Sep 17 00:00:00 2001 From: Mouad Benchchaoui Date: Wed, 14 Feb 2018 05:09:15 -0800 Subject: 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: 185672243 --- examples/py_native/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/py_native/test.py') diff --git a/examples/py_native/test.py b/examples/py_native/test.py index f9543aa727..b860940a38 100644 --- a/examples/py_native/test.py +++ b/examples/py_native/test.py @@ -1,8 +1,8 @@ """A tiny example binary for the native Python rules of Bazel.""" import unittest -from examples.py_native.lib import GetNumber from fib import Fib +from lib import GetNumber class TestGetNumber(unittest.TestCase): -- cgit v1.2.3