Is there any way to set a dependency in pants (like twine) and use pants to run a "custom" command? Basically I want to build my python library with pants and publish it with twine, but I do not want to define it to another system externally to pants (like pip/pipenv), I want to reuse the pants venv.
This is how I do it right now
./pants setup-py my_lib -- sdist
pipenv run twine upload dist/*
and I would like something like
./pants setup-py my_lib -- sdist
./pants twine upload dist/*
# or
./pants run twine upload dist/*