Skip to content

Commit

Permalink
add xlsxwriter
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed May 23, 2024
1 parent 05da512 commit 81bd2ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AntaresWebWin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ migration_files = [str(f) for f in migrations_dir.iterdir() if f.is_file() and f

# Specify hidden import
tables_files = collect_data_files('tables')
datas = [('./resources', './resources'), ('./alembic', './alembic')] + tables_files
xlsx_files = collect_data_files('xlsxwriter')
datas = [('./resources', './resources'), ('./alembic', './alembic')] + tables_files + xlsx_files

tables_module = collect_submodules('tables')
hidden_imports = ['cmath', 'antarest.dbmodel', 'plyer.platforms.win', 'plyer.platforms.win.notification', 'pythonjsonlogger.jsonlogger'] + tables_module
xlsx_module = collect_submodules('xlsxwriter')
hidden_imports = ['cmath', 'antarest.dbmodel', 'plyer.platforms.win', 'plyer.platforms.win.notification', 'pythonjsonlogger.jsonlogger'] + tables_module + xlsx_module

antares_web_server_a = Analysis(['antarest/gui.py', 'alembic/env.py'] + migration_files,
pathex=[],
Expand Down

0 comments on commit 81bd2ee

Please sign in to comment.