-
Type:
Task
-
Status: Won't Fix (View Workflow)
-
Priority:
Normal
-
Resolution: Won't Fix
-
Labels:None
Created on 2024-05-17 11:39:51 by Didier Vibert. % Done: 0
see following warning issued when installing with pip
<pre>
/home/dvibert/.virtualenvs/amazed/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'pylibamazed.resources' as data is deprecated, please list it in `packages`.
!!
############################
- Package would be ignored #
############################
Python recognizes 'pylibamazed.resources.test.calibration.igm' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'pylibamazed.resources' 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 'pylibamazed.resources' 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)
</pre>
and several identical ones for all the directories inside @pylibamazed.resoureces@