Normalize rc4 version string

/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:476: UserWarning: Normalizing '5.0.0.rc4' to '5.0.0rc4'
  normalized_version,
This commit is contained in:
Peace-Maker 2023-06-28 18:31:41 +02:00
parent 3ba1530537
commit 68c8943e32
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if 'PKG_MAJOR' not in VERSION_DATA or \
raise Exception("Malformed pkgconfig.mk") raise Exception("Malformed pkgconfig.mk")
if 'PKG_TAG' in VERSION_DATA: if 'PKG_TAG' in VERSION_DATA:
VERSION = '{PKG_MAJOR}.{PKG_MINOR}.{PKG_EXTRA}.{PKG_TAG}'.format(**VERSION_DATA) VERSION = '{PKG_MAJOR}.{PKG_MINOR}.{PKG_EXTRA}{PKG_TAG}'.format(**VERSION_DATA)
else: else:
VERSION = '{PKG_MAJOR}.{PKG_MINOR}.{PKG_EXTRA}'.format(**VERSION_DATA) VERSION = '{PKG_MAJOR}.{PKG_MINOR}.{PKG_EXTRA}'.format(**VERSION_DATA)