aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xpython/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/setup.py b/python/setup.py
index 06aed94b..1764ec87 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -53,7 +53,7 @@ def GetVersion():
protobuf library may be loaded instead."""
with open(os.path.join('google', 'protobuf', '__init__.py')) as version_file:
- exec(version_file.read())
+ exec(version_file.read(), globals())
return __version__