2025-01-30 23:13:55 +08:00
|
|
|
# -*- mode: python ; coding: utf-8 -*-
|
2025-01-31 19:57:44 +08:00
|
|
|
from PyInstaller.utils.hooks import collect_submodules
|
2025-01-30 23:13:55 +08:00
|
|
|
|
|
|
|
|
a = Analysis(
|
|
|
|
|
['main.py'],
|
|
|
|
|
pathex=[],
|
|
|
|
|
binaries=[],
|
2025-01-31 19:57:44 +08:00
|
|
|
datas=[
|
|
|
|
|
('vectorstore', 'vectorstore')
|
|
|
|
|
],
|
2025-01-31 13:50:07 +08:00
|
|
|
hiddenimports=['typing_extensions',
|
|
|
|
|
'langchain-openai',
|
|
|
|
|
'langgraph',
|
|
|
|
|
'openai',
|
|
|
|
|
'chromadb',
|
|
|
|
|
'nltk',
|
|
|
|
|
'sentence_transformers',
|
|
|
|
|
'scikit-learn',
|
|
|
|
|
'langchain-community',
|
|
|
|
|
'pydantic',
|
|
|
|
|
'pydantic.deprecated.decorator',
|
2025-01-31 19:57:44 +08:00
|
|
|
*collect_submodules('chromadb'),
|
|
|
|
|
'chromadb.utils.embedding_functions.onnx_mini_lm_l6_v2',
|
|
|
|
|
'chromadb.telemetry.product.posthog',
|
|
|
|
|
'chromadb.api.segment',
|
|
|
|
|
'chromadb.db.impl',
|
|
|
|
|
'chromadb.db.impl.sqlite',
|
|
|
|
|
'chromadb.migrations',
|
|
|
|
|
'chromadb.migrations.embeddings_queue'
|
|
|
|
|
|
2025-01-31 13:50:07 +08:00
|
|
|
],
|
2025-01-30 23:13:55 +08:00
|
|
|
hookspath=[],
|
|
|
|
|
hooksconfig={},
|
|
|
|
|
runtime_hooks=[],
|
|
|
|
|
excludes=[],
|
|
|
|
|
noarchive=False,
|
|
|
|
|
optimize=0,
|
|
|
|
|
)
|
|
|
|
|
pyz = PYZ(a.pure)
|
|
|
|
|
|
|
|
|
|
exe = EXE(
|
|
|
|
|
pyz,
|
|
|
|
|
a.scripts,
|
|
|
|
|
[],
|
|
|
|
|
exclude_binaries=True,
|
2025-01-31 13:50:07 +08:00
|
|
|
name='AI_NovelGenerator_V1.1',
|
2025-01-30 23:13:55 +08:00
|
|
|
debug=False,
|
|
|
|
|
bootloader_ignore_signals=False,
|
|
|
|
|
strip=False,
|
|
|
|
|
upx=True,
|
|
|
|
|
console=True,
|
|
|
|
|
disable_windowed_traceback=False,
|
|
|
|
|
argv_emulation=False,
|
|
|
|
|
target_arch=None,
|
|
|
|
|
codesign_identity=None,
|
|
|
|
|
entitlements_file=None,
|
|
|
|
|
icon=['icon.ico']
|
|
|
|
|
)
|
|
|
|
|
coll = COLLECT(
|
|
|
|
|
exe,
|
|
|
|
|
a.binaries,
|
|
|
|
|
a.datas,
|
|
|
|
|
strip=False,
|
|
|
|
|
upx=True,
|
|
|
|
|
upx_exclude=[],
|
2025-01-31 13:50:07 +08:00
|
|
|
name='AI_NovelGenerator_V1.1',
|
2025-01-30 23:13:55 +08:00
|
|
|
)
|