diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-09 13:55:39 +0100 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-09 13:55:39 +0100 |
commit | e91918d69443eb7ef1e1d84dca277965ef048ade (patch) | |
tree | dca136f4ff86afef5c49e1c9c424e05c8597396b /setuptools/command/build_py.py | |
parent | 4ac3596d585d995524791cb3d10a82532dbea837 (diff) | |
download | python-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.py | 7 |
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 |