Is there a way to create a pex binary whose name o...
# general
c
Is there a way to create a pex binary whose name or path includes a version tag? I mean, through already existing means. I saw that pex has the bdist_pex command for setuptools, that seems to do what I want. How can I use it from Pants? And does it work for other build backends? I also saw that this can be done for Docker tags. My guess is that it is possible with a plugin, but that has not been written yet 🙂
b
I suspect it isn't possible today, but also not hard to support, I think. File a detailed issue, and we can chew on it 🙂
Also, let us know if you're interested in fixing the issue. We can help you along the path
c
Thanks! I will look at the code and see if I feel up to the task.
h
There is the vcs_version target, which will generate a version string you can read in your handwritten setup.py
👍 1
There is not yet any wiring for the Pants-generated setup.py to use it