Try fixing version information for pyinstaller packaging
This commit is contained in:
parent
675c456cfe
commit
5584eb4d6b
@ -28,6 +28,8 @@ prepare:
|
||||
- echo "WINDOWS_AMD64_BINARY=fime_windows_amd64_${VERSION}" | tee -a build.env
|
||||
- echo "PACKAGE_REGISTRY_URL=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fime/${VERSION}" | tee -a build.env
|
||||
artifacts:
|
||||
paths:
|
||||
- src/fime/_version.py
|
||||
reports:
|
||||
dotenv: build.env
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
try:
|
||||
from _version import __version__, __version_tuple__
|
||||
from fime._version import __version__, __version_tuple__
|
||||
except ImportError:
|
||||
__version__ = version = '1.0.0.dev0'
|
||||
__version_tuple__ = version_tuple = (1, 0, 0, 'dev0')
|
||||
|
Loading…
Reference in New Issue
Block a user