21 lines
354 B
Python
21 lines
354 B
Python
# standard imports
|
|
import logging
|
|
import time
|
|
|
|
# third-party imports
|
|
import semver
|
|
|
|
# local imports
|
|
|
|
logg = logging.getLogger()
|
|
|
|
version = (0, 4, 0, 'alpha.8')
|
|
|
|
version_object = semver.VersionInfo(
|
|
major=version[0],
|
|
minor=version[1],
|
|
patch=version[2],
|
|
prerelease=version[3],
|
|
)
|
|
version_string = str(version_object)
|