summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-29 00:04:25 -0500
committerBenjamin Peterson <benjamin@python.org>2018-12-28 21:04:25 -0800
commitd5efa74e2dfde8d4ddba13e127cd85c687e6016b (patch)
tree554154c78b7c6b9a0a1f83d9040f1252f777bd8b
parentd927b9e27617abca8dbf4d66cc9265ebbde261d6 (diff)
downloadsix-git-d5efa74e2dfde8d4ddba13e127cd85c687e6016b.tar.gz
Remove distutils fallback and outdated comment (#269)
setuptools includes a vendored version of six (and other dependencies). They are not installed through traditional tools. Therefore, distutils is not required as a fallback to facilitate setuptools. https://github.com/pypa/setuptools/blob/v40.6.3/setuptools/_vendor/six.py
-rw-r--r--setup.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index 2596479..911f137 100644
--- a/setup.py
+++ b/setup.py
@@ -20,13 +20,7 @@
from __future__ import with_statement
-# Six is a dependency of setuptools, so using setuptools creates a
-# circular dependency when building a Python stack from source. We
-# therefore allow falling back to distutils to install six.
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
+from setuptools import setup
import six