The latter discards folder directorieOtherwise, at some point, this without __init__.py whilell get discarded as per the formerdebian build
will scan them nonetheless.warning [1]
Another option would be to keep find-package and add the missing[1] https://jenkins.softwareheritage.org/view/swh-debian%20(draft)/job/debian/job/packages/job/DSCH/job/gbp-buildpackage/182/console
__init__.py...
In any case, without this, this complains in the debian build otherwise [1]
[2].
[1]
```
11:52:47 ############################
11:52:47 # Package would be ignored #
11:52:47 ############################
11:52:47 Python recognizes 'swh.scheduler.sql' as an importable package,
11:52:47 but it is not listed in the `packages` configuration of setuptools.
11:52:47
11:52:47 'swh.scheduler.sql' has been automatically added to the distribution only
11:52:47 because it may contain data files, but this behavior is likely to change
11:52:47 in future versions of setuptools (and therefore is considered deprecated).
11:52:47
11:52:47 Please make sure that 'swh.scheduler.sql' is included as a package by using
11:52:47 the `packages` configuration field or the proper discovery methods
11:52:47 (for example by using `find_namespace_packages(...)`/`find_namespace:`
11:52:47 instead of `find_packages(...)`/`find:`).
11:52:47
11:52:47 You can read more about "package discovery" and "data files" on setuptools
11:52:47 documentation page.
11:52:47
11:52:47
11:52:47 !!
11:52:47
11:52:47 check.warn(importable)
11:52:47 /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'swh.scheduler.sql.upgrades' as data is deprecated, please list it in `packages`.
11:52:47 !!
11:52:47
11:52:47
11:52:47 ############################
11:52:47 # Package would be ignored #
11:52:47 ############################
11:52:47 Python recognizes 'swh.scheduler.sql.upgrades' as an importable package,
11:52:47 but it is not listed in the `packages` configuration of setuptools.
11:52:47
11:52:47 'swh.scheduler.sql.upgrades' has been automatically added to the distribution only
11:52:47 because it may contain data files, but this behavior is likely to change
11:52:47 in future versions of setuptools (and therefore is considered deprecated).
11:52:47
11:52:47 Please make sure that 'swh.scheduler.sql.upgrades' is included as a package by using
11:52:47 the `packages` configuration field or the proper discovery methods
11:52:47 (for example by using `find_namespace_packages(...)`/`find_namespace:`
11:52:47 instead of `find_packages(...)`/`find:`).
11:52:47
11:52:47 You can read more about "package discovery" and "data files" on setuptools
11:52:47 documentation page.
```
[1h2] https://jenkins.softwareheritage.org/view/swh-debian%20(draft)/job/debian/job/packages/job/DSCH/job/gbp-buildpackage/182/console