Skip to content

Commit

Permalink
change app.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed May 13, 2024
1 parent 3ce3e52 commit 5a0e049
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/app.spec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# -*- mode: python ; coding: utf-8 -*-

# Import necessary modules
from PyInstaller.utils.hooks import collect_data_files
# from PyInstaller.utils.hooks import collect_data_files
from PyInstaller.utils.hooks import collect_submodules
from PyInstaller.utils.hooks import collect_dynamic_libs

# Specify the entry point Python script
entry_point = 'app.py'

# Collect necessary data files and binaries
datas = collect_data_files('sklearn')
# datas = collect_data_files('sklearn')
hiddenimports = collect_submodules('sklearn')
binaries = collect_dynamic_libs('sklearn')

Expand All @@ -18,7 +18,7 @@ a = Analysis(
[entry_point],
pathex=[],
binaries=binaries,
datas=datas,
datas=[],
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
Expand Down

0 comments on commit 5a0e049

Please sign in to comment.