aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/bdist_egg.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-12-31 16:30:47 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-12-31 16:30:47 -0500
commit952c1bafda1929c74c737646aa025e6ffad6632e (patch)
tree1fd158d08ce61d8a9f4e2b88d27026e7774f80ff /setuptools/command/bdist_egg.py
parent06872bb0bbbeb953e90bd0941444b0d499056557 (diff)
downloadexternal_python_setuptools-952c1bafda1929c74c737646aa025e6ffad6632e.tar.gz
external_python_setuptools-952c1bafda1929c74c737646aa025e6ffad6632e.tar.bz2
external_python_setuptools-952c1bafda1929c74c737646aa025e6ffad6632e.zip
Modeling after Astropy's technique for bundling libraries, the imports are now much cleaner. Thanks @embray. Ref #229.
--HG-- branch : feature/issue-229
Diffstat (limited to 'setuptools/command/bdist_egg.py')
-rw-r--r--setuptools/command/bdist_egg.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py
index 78164819..9cebd7fa 100644
--- a/setuptools/command/bdist_egg.py
+++ b/setuptools/command/bdist_egg.py
@@ -11,12 +11,7 @@ import os
import marshal
import textwrap
-try:
- from setuptools._vendor import six
-except ImportError:
- # fallback to naturally-installed version; allows system packagers to
- # omit vendored packages.
- import six
+from setuptools.extern import six
from pkg_resources import get_build_platform, Distribution, ensure_directory
from pkg_resources import EntryPoint