aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-05-10 14:03:30 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-05-10 14:03:30 -0400
commit0fffb84a1bc7925fbf862365787ab20e9ab89a0c (patch)
treeff8bcc3d4f58cda9ea0ffd9dd02bcf6e7b6ad9e8 /setuptools
parentb286525862fa0a4839f37b5836a20178293d7335 (diff)
downloadexternal_python_setuptools-0fffb84a1bc7925fbf862365787ab20e9ab89a0c.tar.gz
external_python_setuptools-0fffb84a1bc7925fbf862365787ab20e9ab89a0c.tar.bz2
external_python_setuptools-0fffb84a1bc7925fbf862365787ab20e9ab89a0c.zip
In the deprecation warning, acknowledge that it's only for projects that still require Python 2 support.
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/lib2to3_ex.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setuptools/lib2to3_ex.py b/setuptools/lib2to3_ex.py
index 817dce40..6d9b147c 100644
--- a/setuptools/lib2to3_ex.py
+++ b/setuptools/lib2to3_ex.py
@@ -36,9 +36,10 @@ class Mixin2to3(_Mixin2to3):
return
warnings.warn(
- "2to3 support is deprecated. Please migrate to "
- "a single-codebase solution or roll your own "
- "conversion process.",
+ "2to3 support is deprecated. If the project still "
+ "requires Python 2 support, please migrate to "
+ "a single-codebase solution or employ an "
+ "independent conversion process.",
DeprecationWarning)
log.info("Fixing " + " ".join(files))
self.__build_fixer_names()