2021-02-07 03:29:24 +01:00
|
|
|
# standard imports
|
|
|
|
import logging
|
|
|
|
import time
|
|
|
|
|
|
|
|
# third-party imports
|
|
|
|
import semver
|
|
|
|
|
|
|
|
# local imports
|
|
|
|
|
|
|
|
logg = logging.getLogger()
|
|
|
|
|
2021-12-04 11:39:13 +01:00
|
|
|
version = (0, 4, 0, 'alpha.12')
|
2021-02-07 03:29:24 +01:00
|
|
|
|
|
|
|
version_object = semver.VersionInfo(
|
|
|
|
major=version[0],
|
|
|
|
minor=version[1],
|
|
|
|
patch=version[2],
|
|
|
|
prerelease=version[3],
|
|
|
|
)
|
|
|
|
version_string = str(version_object)
|