]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Remove optional setuptools import.
authorBen Darnell <ben@bendarnell.com>
Tue, 31 Jan 2012 07:46:36 +0000 (23:46 -0800)
committerBen Darnell <ben@bendarnell.com>
Tue, 31 Jan 2012 07:46:36 +0000 (23:46 -0800)
We don't rely on any setuptools features for python2 builds, and the
optional import makes our builds depend on the environment in subtle
ways (egg-info directories, etc).

setup.py

index 872c737c4c285ff94413aca065929bcd670157ea..91e5593317d61f1f565627e3b89a8751322e03a3 100644 (file)
--- a/setup.py
+++ b/setup.py
 
 import distutils.core
 import sys
-# Importing setuptools adds some features like "setup.py develop", but
-# it's optional so swallow the error if it's not there.
-try:
-    import setuptools
-except ImportError:
-    pass
 
 kwargs = {}