aboutsummaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/setup.py')
-rwxr-xr-xpython/setup.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/python/setup.py b/python/setup.py
index 79e23698..23193cba 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -8,19 +8,7 @@ import sys
# We must use setuptools, not distutils, because we need to use the
# namespace_packages option for the "google" package.
-try:
- from setuptools import setup, Extension, find_packages
-except ImportError:
- try:
- from ez_setup import use_setuptools
- use_setuptools()
- from setuptools import setup, Extension, find_packages
- except ImportError:
- sys.stderr.write(
- "Could not import setuptools; make sure you have setuptools or "
- "ez_setup installed.\n"
- )
- raise
+from setuptools import setup, Extension, find_packages
from distutils.command.clean import clean as _clean