Please support current setuptools

Issue #23 resolved
mb created an issue

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)

  1. wmj 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)?

  2. Log in to comment