Add explicit collection of tzlocal to pipeline

Diagnose module not found windows pyinstaller error
This commit is contained in:
Iain Powrie 2022-01-14 20:24:49 +00:00
parent 0a538a6127
commit aec8f79c36

View File

@ -117,7 +117,7 @@ win-dev-build:
--paths .venv\Lib\site-packages
--hidden-import cryptography
--hidden-import cffi
--collect-all tzdata
--collect-all tzlocal
artifacts:
name: "crafty-${CI_RUNNER_TAGS}-${CI_COMMIT_BRANCH}_${CI_COMMIT_SHORT_SHA}"
paths:
@ -153,6 +153,7 @@ win-prod-build:
--paths .venv\Lib\site-packages
--hidden-import cryptography
--hidden-import cffi
--collect-all tzlocal
artifacts:
name: "crafty-${CI_RUNNER_TAGS}-${CI_COMMIT_BRANCH}_${CI_COMMIT_SHORT_SHA}"
paths: