summaryrefslogtreecommitdiff
path: root/setuptools/command/build_py.py
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-06-09 13:55:39 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-06-09 13:55:39 +0100
commite91918d69443eb7ef1e1d84dca277965ef048ade (patch)
treedca136f4ff86afef5c49e1c9c424e05c8597396b /setuptools/command/build_py.py
parent4ac3596d585d995524791cb3d10a82532dbea837 (diff)
downloadpython-setuptools-git-e91918d69443eb7ef1e1d84dca277965ef048ade.tar.gz
Change warning about namespace packages and data files
This follows a suggestion given by users to improve clarity.
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r--setuptools/command/build_py.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py
index 86847f07..2fced3d6 100644
--- a/setuptools/command/build_py.py
+++ b/setuptools/command/build_py.py
@@ -263,9 +263,10 @@ class _IncludePackageDataAbuse:
############################
Python recognizes {importable!r} as an importable package,
but it is not listed in the `packages` configuration of setuptools.
- Currently {importable!r} is only added to the distribution because it may
- contain data files, but this behavior is likely to change in future
- versions of setuptools (and therefore is considered deprecated).
+
+ {importable!r} has been automatically added to the distribution only
+ because it may contain data files, but this behavior is likely to change
+ in future versions of setuptools (and therefore is considered deprecated).
Please make sure that {importable!r} is included as a package by using
the `packages` configuration field or the proper discovery methods