https://pantsbuild.org/ logo
b

bitter-ability-32190

07/20/2022, 12:21 AM
This one feels dumb, but I can't get it 🙂 Pants 2.12, how do I refer to a single
python_source
neighbor generated via
python_sources
. For plugin purposes I need the address.
Copy code
python_sources()  # generates "foo.py"
my_target(special_address=":...")
I tried
:foo.py
,
:<dirname>#foo.py
but no luck
1