Skip to content

Commit

Permalink
Change warning about namespace packages and data files (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Jun 9, 2022
2 parents 4ac3596 + e91918d commit c5c09dd
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 c5c09dd

Please sign in to comment.