abundant-hospital-56388
06/21/2022, 12:49 PMpython_source on a shell_source , which works according to the ./pants dependencies command, but the shell_source is not included in the .pex file when running ./pants package. When I replace the shell_source and use resource instead, I can make it work.abundant-hospital-56388
06/21/2022, 12:51 PM./pants dependencies //:bin and ./pants package //:bin in the attached folderbitter-ability-32190
06/21/2022, 12:55 PMresource.
I'm actively working on a proposal to make this better.abundant-hospital-56388
06/21/2022, 12:57 PMhappy-kitchen-89482
06/21/2022, 1:02 PMhappy-kitchen-89482
06/21/2022, 1:04 PMbitter-ability-32190
06/21/2022, 1:06 PMbitter-ability-32190
06/21/2022, 1:07 PMshell_source and resource if you want (if you're formatting or linting your shell_source for instance). Just make the dependency on the resourceabundant-hospital-56388
06/21/2022, 1:08 PMproud-dentist-22844
06/21/2022, 3:57 PMproud-dentist-22844
06/21/2022, 4:27 PMshell_sources target and a resource target: https://github.com/st2sandbox/st2/commit/3cd43920159a2a48f502a8cd1028be538501370d#diff-ea05987828aa291b1e3ea7dedd[ā¦]9d470ae6339d4c649766e24a4034fR75
some of it depends on the other macros I have, but hopefully that bridges the gap until @bitter-ability-32190ās dependencies proposal lands.