enough-analyst-54434
06/26/2018, 5:42 PMegg_info --tag-build <suffix> is a standard setuptools command that can be prefixed to sdist, bdist_wheel, etc to change the distribution version at build time. Given that bit of technology and this code in pants:
try:
# We're running from a `pantsbuild.pants` distribution which may have a custom version applied at
# build time.
VERSION = pkg_resources.get_distribution('pantsbuild.pants').version
except pkg_resources.DistributionNotFound:
# We're running from bare sources.
VERSION = pkgutil.get_data(__name__, 'VERSION').strip()
... does anyone gack? does anyone cheer?witty-crayon-22786
06/26/2018, 9:04 PMwitty-crayon-22786
06/26/2018, 9:05 PMrelease.sh?enough-analyst-54434
06/26/2018, 11:16 PMpython setup.py egg_info -b+suffix bdist_wheel then appends the +suffix to the version read from setup.py