Hey :wave: I've been trying to get a `debian_packa...
# general
f
Hey 👋 I've been trying to get a
debian_package
target working with a PEX, but nothing I've tried seems to actually package the pex into the resulting file. I've had a look at the code (here) and can't actually see where packages would get added into the resulting deb - am I going crazy or just looking in the wrong places? Any help appreciated thanks
c
Hi! I think you've come to the right conclusion, it doesn't package dependencies into the deb package. What's missing is something along the lines of this, looking at the docker backend for comparison. cc @fresh-cat-90827 may have some further insights here..
f
sorry for the delay getting back to you. That's right, we don't yet have the functionality to include dependencies via the
packages
field; but it's possible to include arbitrary source files, please see the integration test, if that's helpful https://github.com/pantsbuild/pants/blob/2a01ab7dbe9431fc7ec7cdb550a323804b748322/src/python/pants/backend/debian/rules_integration_test.py#L44