had some fun implementing python run in v2: <https...
# development
had some fun implementing python run in v2: https://github.com/pantsbuild/pants/pull/8236
🎉 2
Yay! It looks like this implementation can be used to implement python binary? If I’m reading correctly, python run == python binary + actually running that PEX We’ll probably want to extract out a lot of the duplicated logic with python_test_runner.py, such as the source root stripping
that's correct, this was hacked together in a few hours to show off to a twitter engineer
removing the duplicated logic should also reduce the diff size considerably
right now i'm focusing on python run because python binary requires creating a file in dist/ and i don't want to figure that out just yet
👍 1
but yes, your description is correct