https://pantsbuild.org/ logo
#development
Title
# development
a

aloof-angle-91616

09/04/2019, 2:29 AM
had some fun implementing python run in v2: https://github.com/pantsbuild/pants/pull/8236
🎉 2
h

hundreds-father-404

09/04/2019, 1:52 PM
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
a

aloof-angle-91616

09/04/2019, 4:46 PM
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