Development #76691
SetuptoolsDeprecationWarning : le fonctionnement des packages avec namespace a changé avec setuptools
Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
17 avril 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'gadjo.locale.fr.LC_MESSAGES' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'gadjo.locale.fr.LC_MESSAGES' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'gadjo.locale.fr.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 'gadjo.locale.fr.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.