full-toothbrush-75676
09/27/2021, 7:17 PMpants
? This would be helpful to use while developing the tool so changes to source are reflected when using the CLI tool without having to uninstall / reinstall. From reading the pants
docs, it seems like using a python_distribution
with entry_points
might be my best bet for installing said CLI tool, but I’m not finding if there is a way to install this distribution in “editable” mode. Let me know if I’m on the wrong track, too…pants
? B/c pants does some magic to pull in other 1st-party dependencies, it’s probably not nearly as straightforward as the dynamic linking that setuptools
does with python setup.py develop
– is my understanding correct here?witty-crayon-22786
09/27/2021, 7:33 PMpex_binary
for it, and then ./pants run
or ./pants package
itfull-toothbrush-75676
09/27/2021, 7:46 PM./pants run
– thanks, that should do it!witty-crayon-22786
09/27/2021, 9:46 PM./pants --loop run
to re-run it continuously as files change--loop
won’t kill the process if it is long-lived, so not useful in all cases: see #9462)