ambitious-actor-36781
06/10/2022, 12:25 AMSources
-> Sources
?
I'm trying to generate a single python_source
from multiple python_sources
.
So I've got python_sources()
and then inlined_python(entrypoint='main.py')
but given the entrypoint is a SecondaryOwnerMixin
it doesn't seem to workambitious-actor-36781
06/10/2022, 12:42 AM[WARN] No codegen files/targets matched. All codegen target types: experimental_shell_command, inlined_python
ambitious-actor-36781
06/10/2022, 12:43 AMambitious-actor-36781
06/10/2022, 12:47 AMambitious-actor-36781
06/10/2022, 2:12 AMSingleSourceField
with expected_num_files=0 and using that as a 'marker' seems to workambitious-actor-36781
06/10/2022, 3:47 AMdefault
value, which will error if it doesn't exist. but ehhhh.bitter-ability-32190
06/12/2022, 10:40 PMbitter-ability-32190
06/12/2022, 10:41 PMambitious-actor-36781
06/12/2022, 10:49 PMbitter-ability-32190
06/13/2022, 12:01 AMambitious-actor-36781
06/13/2022, 12:44 AMbitter-ability-32190
06/13/2022, 12:46 AMwitty-crayon-22786
06/14/2022, 7:59 PMwitty-crayon-22786
06/14/2022, 8:00 PMpantsbuild/pants
rather than from the docsite: there are more, with more variety of purposeambitious-actor-36781
06/14/2022, 8:23 PMambitious-actor-36781
06/14/2022, 8:23 PMwitty-crayon-22786
06/14/2022, 8:26 PMwitty-crayon-22786
06/14/2022, 8:26 PM