diff options
| author | Steve Kowalik <steven@wedontsleep.org> | 2016-01-07 14:07:33 +1100 |
|---|---|---|
| committer | Steve Kowalik <steven@wedontsleep.org> | 2016-01-07 14:07:33 +1100 |
| commit | 337ea160558acc352c8a61b9d27c93d1f9e09618 (patch) | |
| tree | 52272a24ccb0b3be0d2349956c5fd44e5e65e565 /setuptools/command/bdist_egg.py | |
| parent | 3bd5118eaa87b4f6598e0a473fec3623b6579d3b (diff) | |
| parent | d49c41c6ebc16371efabe0b92b417457cf9c47d7 (diff) | |
| download | python-setuptools-git-337ea160558acc352c8a61b9d27c93d1f9e09618.tar.gz | |
Merge from default.
Diffstat (limited to 'setuptools/command/bdist_egg.py')
| -rw-r--r-- | setuptools/command/bdist_egg.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py index 87dce882..9cebd7fa 100644 --- a/setuptools/command/bdist_egg.py +++ b/setuptools/command/bdist_egg.py @@ -11,9 +11,10 @@ import os import marshal import textwrap +from setuptools.extern import six + from pkg_resources import get_build_platform, Distribution, ensure_directory from pkg_resources import EntryPoint -from setuptools.compat import basestring from setuptools.extension import Library from setuptools import Command @@ -413,7 +414,7 @@ def iter_symbols(code): for name in code.co_names: yield name for const in code.co_consts: - if isinstance(const, basestring): + if isinstance(const, six.string_types): yield const elif isinstance(const, CodeType): for name in iter_symbols(const): |
