Public bug reported:

When building packages that have recently migrated from a PBR +
setup.cfg process to a pyproject.toml process, I notice that the
resulting binary does not include anything deeper than the root package.
For instance, a recent inspection of a build of OpenStack Neutron with
dpkg-deb -c, showed files in:

./usr/lib/python3/dist-packages/neutron/

But nothing deeper than that. A correct build should include:

./usr/lib/python3/dist-packages/neutron/tests/...
./usr/lib/python3/dist-packages/neutron/services/...
./usr/lib/python3/dist-packages/neutron/objects/...
etc.

There is a workaround by specifying a line in MANIFEST.in such as:

recursive-include neutron/ *

However it is not ideal to introduce this delta to every package. A package 
with the MANIFEST.in file patched, but otherwise exhibits this issue is in the 
following PPA under:
neutron - 2:28.0.0~b2+git20260121.28.762694d1bd-0ubuntu1~ppa2
https://launchpad.net/~mylesjp/+archive/ubuntu/gazpacho-test/+packages

** Affects: dh-python (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138908

Title:
  Builds with pyproject.toml don't include subdirectories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/2138908/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to