pi-top / pi-topd

pi-top System Daemon (formerly pt-device-manager)
6 stars 4 forks source link

python 3.10 setuptools deprecation warning #183

Open hramrach opened 1 year ago

hramrach commented 1 year ago

[ 8s] /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'pitopd.assets' as data is deprecated, please list it in packages. [ 8s] !! [ 8s] [ 8s] [ 8s] ############################ [ 8s] # Package would be ignored # [ 8s] ############################ [ 8s] Python recognizes 'pitopd.assets' as an importable package, [ 8s] but it is not listed in the packages configuration of setuptools. [ 8s] [ 8s] 'pitopd.assets' has been automatically added to the distribution only [ 8s] because it may contain data files, but this behavior is likely to change [ 8s] in future versions of setuptools (and therefore is considered deprecated). [ 8s] [ 8s] Please make sure that 'pitopd.assets' is included as a package by using [ 8s] the packages configuration field or the proper discovery methods [ 8s] (for example by using find_namespace_packages(...)/find_namespace: [ 8s] instead of find_packages(...)/find:). [ 8s] [ 8s] You can read more about "package discovery" and "data files" on setuptools [ 8s] documentation page. [ 8s] [ 8s] [ 8s] !! [ 8s] [ 8s] check.warn(importable) [ 8s] /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'pitopd.scripts' as data is deprecated, please list it in packages. [ 8s] !! [ 8s] [ 8s] [ 8s] ############################ [ 8s] # Package would be ignored # [ 8s] ############################ [ 8s] Python recognizes 'pitopd.scripts' as an importable package, [ 8s] but it is not listed in the packages configuration of setuptools. [ 8s] [ 8s] 'pitopd.scripts' has been automatically added to the distribution only [ 8s] because it may contain data files, but this behavior is likely to change [ 8s] in future versions of setuptools (and therefore is considered deprecated). [ 8s] [ 8s] Please make sure that 'pitopd.scripts' is included as a package by using [ 8s] the packages configuration field or the proper discovery methods [ 8s] (for example by using find_namespace_packages(...)/find_namespace: [ 8s] instead of find_packages(...)/find:). [ 8s] [ 8s] You can read more about "package discovery" and "data files" on setuptools [ 8s] documentation page. [ 8s] [ 8s] [ 8s] !! [ 8s] [ 8s] check.warn(importable)