Remove unintentional additions

pull/25365/head
Richard Belleville 4 years ago
parent e803bdb578
commit 2f4360a596
  1. 1
      third_party/BUILD
  2. 14
      third_party/protobuf.patch

1
third_party/BUILD vendored

@ -11,5 +11,4 @@ exports_files([
"enum34.BUILD",
"futures.BUILD",
"libuv.BUILD",
"protobuf.patch",
])

@ -1,14 +0,0 @@
diff --git a/python/google/protobuf/__init__.py b/python/google/protobuf/__init__.py
index 97ac28028..8b7585d9d 100644
--- a/python/google/protobuf/__init__.py
+++ b/python/google/protobuf/__init__.py
@@ -31,3 +31,9 @@
# Copyright 2007 Google Inc. All Rights Reserved.
__version__ = '3.14.0'
+
+if __name__ != '__main__':
+ try:
+ __import__('pkg_resources').declare_namespace(__name__)
+ except ImportError:
+ __path__ = __import__('pkgutil').extend_path(__path__, __name__)
Loading…
Cancel
Save