Got warnings during build for mcomix.images
and mcomix.messages.*.LC_MESSAGES
:
/usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'mcomix.images' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'mcomix.images' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'mcomix.images' 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 'mcomix.images' 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)
Oh, yeah, this can be closed. MR #20 fixed it.Last edit: FeRD 2023-06-28
Wait, no! Sorry, should've read past the title! This one's still probably valid.
The easiest solution is probably just to put an empty
__init__.py
insidemcomix/images/
. ...And all of its subdirs, sigh....And every dir in the tree under
mcomix/messages/
, double-sigh.Last edit: FeRD 2023-06-28
I just opened MR 33 with that "fix". Now I feel like I need a shower.
I've built v2.2.0. Warnings are still there with slightly different text