aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2020-01-08 19:10:11 +0200
committerHugo <hugovk@users.noreply.github.com>2020-01-08 19:10:11 +0200
commit796abd8dbec884cedf326cb5f85512a5d5648c4e (patch)
treecacbbdc28822b519f87b679a8262687421d13c01 /setuptools/command/develop.py
parent7e97def47723303fafabe48b22168bbc11bb4821 (diff)
downloadexternal_python_setuptools-796abd8dbec884cedf326cb5f85512a5d5648c4e.tar.gz
external_python_setuptools-796abd8dbec884cedf326cb5f85512a5d5648c4e.tar.bz2
external_python_setuptools-796abd8dbec884cedf326cb5f85512a5d5648c4e.zip
Fix for Python 4: replace unsafe six.PY3 with PY2
Diffstat (limited to 'setuptools/command/develop.py')
-rw-r--r--setuptools/command/develop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py
index 009e4f93..b5619246 100644
--- a/setuptools/command/develop.py
+++ b/setuptools/command/develop.py
@@ -108,7 +108,7 @@ class develop(namespaces.DevelopInstaller, easy_install):
return path_to_setup
def install_for_development(self):
- if six.PY3 and getattr(self.distribution, 'use_2to3', False):
+ if not six.PY2 and getattr(self.distribution, 'use_2to3', False):
# If we run 2to3 we can not do this inplace:
# Ensure metadata is up-to-date