Skip to content

Commit

Permalink
Change warning about namespace packages and data files
Browse files Browse the repository at this point in the history
This follows a suggestion given by users to improve clarity.
  • Loading branch information
abravalheri committed Jun 9, 2022
1 parent 4ac3596 commit e91918d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setuptools/command/build_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e91918d

Please sign in to comment.