-
- Downloads
setup.py: Remove sdisk build warning about importable packages
This fixes the sdist build warnings about importable packages (swh.vault.sql, swh.vault.sql.upgrades). [1] This aligns with the swh.storage's setup.py. [1] for package in swh.vault.sql swh.vault.sql.upgrades ``` ############################ # Package would be ignored # ############################ Python recognizes '$package' as an importable package, but it is not listed in the `packages` configuration of setuptools. '$package' 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 '$package' 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. ``` Refs. swh/infra/sysadm-environment#5044
Please register or sign in to comment