From ec27ba1a83e87ba4335156ab42ccc526250fb0c6 Mon Sep 17 00:00:00 2001 From: Nathan Dunfield Date: Sun, 24 Nov 2024 21:25:48 -0600 Subject: [PATCH] Windows app: need to add tkinter_gl data files --- windows_exe/SnapPy_dbg.spec | 3 ++- windows_exe/SnapPy_py3.spec | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/windows_exe/SnapPy_dbg.spec b/windows_exe/SnapPy_dbg.spec index 5677ec7c..80637e3a 100644 --- a/windows_exe/SnapPy_dbg.spec +++ b/windows_exe/SnapPy_dbg.spec @@ -9,11 +9,11 @@ options = [('v', None, 'OPTION')] imports = collect_submodules('snappy') imports += collect_submodules('snappy_15_knots') -imports += collect_submodules('tkinter_gl') imports += collect_submodules('cypari') imports += collect_submodules('jedi') imports += collect_submodules('pyx') imports += collect_submodules('low_index') +imports += collect_submodules('tkinter_gl') datafiles = collect_data_files('jedi') datafiles += collect_data_files('pyx') @@ -23,6 +23,7 @@ datafiles += collect_data_files('snappy_15_knots') datafiles += collect_data_files('snappy') datafiles += collect_data_files('plink') datafiles += collect_data_files('spherogram') +datafiles += collect_data_files('tkinter_gl') # SnapPyHP.pyd and twister_core.pyd are compiled with the MS Visual diff --git a/windows_exe/SnapPy_py3.spec b/windows_exe/SnapPy_py3.spec index b5154d48..19852ffc 100644 --- a/windows_exe/SnapPy_py3.spec +++ b/windows_exe/SnapPy_py3.spec @@ -9,11 +9,12 @@ options = [('v', None, 'OPTION')] imports = collect_submodules('snappy') imports += collect_submodules('snappy_15_knots') -imports += collect_submodules('tkinter_gl') imports += collect_submodules('cypari') imports += collect_submodules('jedi') imports += collect_submodules('pyx') imports += collect_submodules('low_index') +imports += collect_submodules('tkinter_gl') + datafiles = collect_data_files('jedi') datafiles += collect_data_files('pyx') @@ -23,6 +24,7 @@ datafiles += collect_data_files('snappy_15_knots') datafiles += collect_data_files('snappy') datafiles += collect_data_files('plink') datafiles += collect_data_files('spherogram') +datafiles += collect_data_files('tkinter_gl') # SnapPyHP.pyd and twister_core.pyd are compiled with the MS Visual