binary.py <--
# general
p
binary.py <--
h
Unfortunately, this will still run Go code :/ this only impacts options parsing. It’s likely the most common misunderstanding with Pants and something we’re moving away from as we migrate things to the V2 engine
c
I ended up creating a new
goal
using plugin and only registered
binary-prep-command
and
py
to it:
Copy code
Goal.register("fast-py-binary", "Create a runnable python binary.")
    TaskRegistrar(name="binary-prep-command", action=RunBinaryPrepCommand).install(
        "fast-py-binary", first=True
    )
    TaskRegistrar(name="py", action=PythonBinaryCreate).install("fast-py-binary")
👍 1