diff options
-rwxr-xr-x | python/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/setup.py b/python/setup.py index c18818e2..07cc56e7 100755 --- a/python/setup.py +++ b/python/setup.py @@ -52,7 +52,7 @@ def GetVersion(): """ with open(os.path.join('google', 'protobuf', '__init__.py')) as version_file: - exec(version_file.read()) + exec(version_file.read(),globals()) return __version__ |