- changed status to resolved
Please support current setuptools
Dear maintainer,
while packaging csb43 for Debian I encountered this warning.
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'csb43.i18n.es.LC_MESSAGES' as data is deprecated, please list it in packages
.
!!
############################
# Package would be ignored #
############################
Python recognizes 'csb43.i18n.es.LC_MESSAGES' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'csb43.i18n.es.LC_MESSAGES' 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 'csb43.i18n.es.LC_MESSAGES' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
Comments (7)
-
repo owner -
repo owner - changed status to open
-
repo owner Hi @mb ! Thanks for reporting.
Could you please provide info about the versions you are using to build the deb package (python and setuptools)?
-
reporter Hi @wmj, thanks for looking into the issue.
The versions are those from Debian unstable
https://packages.debian.org/search?keywords=python3-setuptools
65.3.0
https://packages.debian.org/search?keywords=python3
3.10.6
-
repo owner Tested with python 3.10 and it seems fixed.
Thank you again.
-
repo owner - changed status to resolved
commit 3de8447
-
reporter Thanks for the prompt reaction!
- Log in to comment