From 2e565f55bee8b7ee789e0e052dff6859fbe70c36 Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Fri, 13 Dec 2024 15:36:22 +0100 Subject: [PATCH] Include timezone data in windows distribution --- conda_windows.yml | 1 + libeos/__init__.py | 2 +- windows_folder.spec | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/conda_windows.yml b/conda_windows.yml index 14b5faa..9fd9d82 100644 --- a/conda_windows.yml +++ b/conda_windows.yml @@ -41,3 +41,4 @@ dependencies: - pip: - orsopy==1.2.1 - pyyaml==6.0.2 + - tzdata \ No newline at end of file diff --git a/libeos/__init__.py b/libeos/__init__.py index 7ab4dc8..e817279 100644 --- a/libeos/__init__.py +++ b/libeos/__init__.py @@ -2,5 +2,5 @@ Package to handle data redction at AMOR instrument to be used by eos.py script. """ -__version__ = '2.1.4' +__version__ = '2.1.3' __date__ = '2024-12-13' diff --git a/windows_folder.spec b/windows_folder.spec index da3e9b1..7646535 100644 --- a/windows_folder.spec +++ b/windows_folder.spec @@ -1,4 +1,11 @@ # -*- mode: python ; coding: utf-8 -*- +from PyInstaller.utils.hooks import collect_all + +datas = [] +binaries = [] +hiddenimports = [] +tmp_ret = collect_all('tzdata') +datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] a = Analysis(