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/develop.py | |
| parent | 3bd5118eaa87b4f6598e0a473fec3623b6579d3b (diff) | |
| parent | d49c41c6ebc16371efabe0b92b417457cf9c47d7 (diff) | |
| download | python-setuptools-git-337ea160558acc352c8a61b9d27c93d1f9e09618.tar.gz | |
Merge from default.
Diffstat (limited to 'setuptools/command/develop.py')
| -rwxr-xr-x | setuptools/command/develop.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py index 07b66ccb..11b5df10 100755 --- a/setuptools/command/develop.py +++ b/setuptools/command/develop.py @@ -5,9 +5,10 @@ import os import glob import io +from setuptools.extern import six + from pkg_resources import Distribution, PathMetadata, normalize_path from setuptools.command.easy_install import easy_install -from setuptools.compat import PY3 import setuptools @@ -87,7 +88,7 @@ class develop(easy_install): " installation directory", p, normalize_path(os.curdir)) def install_for_development(self): - if PY3 and getattr(self.distribution, 'use_2to3', False): + if six.PY3 and getattr(self.distribution, 'use_2to3', False): # If we run 2to3 we can not do this inplace: # Ensure metadata is up-to-date |
