diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-31 11:51:01 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-31 11:51:01 -0500 |
| commit | 06872bb0bbbeb953e90bd0941444b0d499056557 (patch) | |
| tree | 73adc719c4acd99095181f0ccd42bbc7564ef8f0 /setuptools/__init__.py | |
| parent | 29fa01621c3de0a5c78c4f49b5d051386d0d566f (diff) | |
| download | python-setuptools-git-06872bb0bbbeb953e90bd0941444b0d499056557.tar.gz | |
Update vendoring technique to match that used for packaging. Ref #229.
--HG--
branch : feature/issue-229
Diffstat (limited to 'setuptools/__init__.py')
| -rw-r--r-- | setuptools/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py index fffcac76..6e1e5aa4 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -1,7 +1,5 @@ """Extensions to the 'distutils' for large or complex distributions""" -__import__('setuptools.bootstrap').bootstrap.ensure_deps() - import os import functools import distutils.core @@ -10,7 +8,12 @@ from distutils.core import Command as _Command from distutils.util import convert_path from fnmatch import fnmatchcase -from six.moves import filterfalse +try: + from setuptools._vendor.six.moves import filterfalse +except ImportError: + # fallback to naturally-installed version; allows system packagers to + # omit vendored packages. + from six.moves import filterfalse import setuptools.version from setuptools.extension import Extension |
