bumpy-arm-17246
07/24/2023, 10:05 AMpython_sources
which depends on a bunch of resources
which are http_sources
. These resources are quite large. Is it possible to optionally not download the resources or not include them in a downstream pex_binary
?broad-processor-92400
07/24/2023, 10:35 AMbumpy-arm-17246
07/24/2023, 10:56 AMbroad-processor-92400
07/24/2023, 11:11 AM!
or !!
. https://www.pantsbuild.org/docs/targets “ignore dependencies with ! and !!” has some more details
• Change the library file structure (eg split the files) so the resources are imported by a file/module that isn’t used by the pex binary
I guess the first one might be what you’re looking for?bitter-ability-32190
07/24/2023, 11:20 AMfile
. Then they won't be embedded in your binary