Permalink
Browse files

Remove 2to3 code from setup.py. (#5114)

Python protobuf has long been a single-source codebase. 2to3 shouldn't need to run in setup.py.
  • Loading branch information...
benjaminp authored and anandolee committed Sep 10, 2018
1 parent f8d56e9 commit 188c44b11748670e28c8150c742dbaf3f7b2e0cf
Showing with 1 addition and 7 deletions.
  1. +1 −7 python/setup.py
View
@@ -11,14 +11,8 @@
# namespace_packages option for the "google" package.
from setuptools import setup, Extension, find_packages
from distutils.command.build_py import build_py as _build_py
from distutils.command.clean import clean as _clean
if sys.version_info[0] == 3:
# Python 3
from distutils.command.build_py import build_py_2to3 as _build_py
else:
# Python 2
from distutils.command.build_py import build_py as _build_py
from distutils.spawn import find_executable
# Find the Protocol Compiler.

0 comments on commit 188c44b

Please sign in to comment.