diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-29 00:04:25 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-12-28 21:04:25 -0800 |
commit | d5efa74e2dfde8d4ddba13e127cd85c687e6016b (patch) | |
tree | 554154c78b7c6b9a0a1f83d9040f1252f777bd8b | |
parent | d927b9e27617abca8dbf4d66cc9265ebbde261d6 (diff) | |
download | six-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.py | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 |