Add imports attribute to Bazel native Python rules to allow adding directories to PYTHONPATH.
Fixes #702
RELNOTES: Add imports attribute to native Python rules.
--
MOS_MIGRATED_REVID=114314430
diff --git a/examples/py_native/bin.py b/examples/py_native/bin.py
index f79379a..7b65627 100644
--- a/examples/py_native/bin.py
+++ b/examples/py_native/bin.py
@@ -1,4 +1,6 @@
"""A tiny example binary for the native Python rules of Bazel."""
from examples.py_native.lib import GetNumber
+from fib import Fib
print "The number is %d" % GetNumber()
+print "Fib(5) == %d" % Fib(5)