From: Ben Darnell Date: Tue, 31 Jan 2012 07:46:36 +0000 (-0800) Subject: Remove optional setuptools import. X-Git-Tag: v2.3.0~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50b28c5d7a1ccfc3cc3a5a8fc5cf664880598fc6;p=thirdparty%2Ftornado.git Remove optional setuptools import. 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). --- diff --git a/setup.py b/setup.py index 872c737c4..91e559331 100644 --- a/setup.py +++ b/setup.py @@ -16,12 +16,6 @@ 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 = {}