1
0
Fork 0

fix(exe): include realesrgan and coloredlogs in bundles

This commit is contained in:
Sean Sube 2023-03-30 23:43:18 -05:00
parent ee3774b70a
commit 9b05b6bf5c
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 14 additions and 2 deletions

View File

@ -40,6 +40,7 @@ datas = [
]),
collect_data_files("onnxruntime", include_py_files=True, includes=[
"transformers/**",
"tools/**",
]),
collect_data_files("transformers", include_py_files=True, includes=[
"**",
@ -55,7 +56,7 @@ a = Analysis(
*metadatas,
*datas,
],
hiddenimports=['onnxruntime', 'onnxruntime-directml', 'tqdm'],
hiddenimports=['coloredlogs', 'onnxruntime', 'onnxruntime-directml', 'tqdm'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],

View File

@ -31,6 +31,17 @@ datas = [
"models/**",
"utils/**",
]),
collect_data_files("realesrgan", include_py_files=True, includes=[
"archs/**",
"data/**",
"losses/**",
"models/**",
"utils/**",
]),
collect_data_files("onnxruntime", include_py_files=True, includes=[
"transformers/**",
"tools/**",
]),
collect_data_files("transformers", include_py_files=True, includes=[
"**",
]),
@ -45,7 +56,7 @@ a = Analysis(
*metadatas,
*datas,
],
hiddenimports=['onnxruntime', 'onnxruntime-directml', 'tqdm'],
hiddenimports=['coloredlogs', 'onnxruntime', 'onnxruntime-directml', 'tqdm'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],