Remove `tff.python` and `tff.proto` packages which are not in the public API
documented at
@@ -75,3 +75,9 @@ if sys.version_info[0] < 3 or sys.version_info[1] < 7:
# Initialize a default execution context. This is implicitly executed the
# first time a module in the `core` package is imported.
backends.native.set_local_python_execution_context()
+
+# Remove packages that are not part of the public API but are picked up due to
+# the directory structure. The python import statements above implicitly add
+# these to locals().
+del python # pylint:disable=undefined-variable
+del proto # pylint:disable=undefined-variable
