summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-11-07 04:48:16 -0500
committerGitHub <noreply@github.com>2021-11-07 04:48:16 -0500
commitdec4d0b3edd20614dced9c5c9203e755a4f9addd (patch)
tree4325d0bc6d2814160920c893bb39c83e8633b1be /setuptools/command/egg_info.py
parent7a1411ffc1cce75cc5251071154ff53f3fd0444d (diff)
parent4a979b6f38415d8841f650234dff301ed63658e7 (diff)
downloadpython-setuptools-git-dec4d0b3edd20614dced9c5c9203e755a4f9addd.tar.gz
Merge pull request #2857 from abravalheri/deprecated-distutils-command
Deprecate support for commands inheriting from distutils
Diffstat (limited to 'setuptools/command/egg_info.py')
-rw-r--r--setuptools/command/egg_info.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 8ae27d87..f2210292 100644
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -621,10 +621,11 @@ class manifest_maker(sdist):
if hasattr(build_py, 'get_data_files_without_manifest'):
return build_py.get_data_files_without_manifest()
- log.warn(
+ warnings.warn(
"Custom 'build_py' does not implement "
"'get_data_files_without_manifest'.\nPlease extend command classes"
- " from setuptools instead of distutils."
+ " from setuptools instead of distutils.",
+ SetuptoolsDeprecationWarning
)
return build_py.get_data_files()