more spec

This commit is contained in:
james
2023-02-24 17:27:17 -05:00
parent 7a0151ac0b
commit 95bf5e981d

View File

@@ -60,6 +60,8 @@ added_files = [
(os.path.join(pathex, "user_agent"), "user_agent"),
(os.path.join(pathex, "vaderSentiment"), "vaderSentiment"),
(os.path.join(pathex, "prophet"), "prophet"),
(os.path.join(pathex, "whisper"), "whisper"),
(os.path.join(pathex, "transformers"), "transformers"),
(
os.path.join(pathex, "linearmodels", "datasets"),
os.path.join("linearmodels", "datasets"),
@@ -77,10 +79,14 @@ added_files = [
(os.path.join(pathex, "blib2to3", "PatternGrammar.txt"), "blib2to3"),
]
if is_win:
added_files.append(
(os.path.join(f"{os.path.dirname(scipy.__file__)}.libs"), "scipy.libs/"),
added_files.extend(
[
(os.path.join(f"{os.path.dirname(scipy.__file__)}.libs"), "scipy.libs/"),
(os.path.join(pathex, "frozendict", "VERSION"), "frozendict"),
]
)
# Python libraries that are explicitly pulled into the bundle
hidden_imports = [
"sklearn.utils._cython_blas",
@@ -105,10 +111,14 @@ hidden_imports = [
"scipy.sparse.linalg._isolve._iterative",
"whisper",
"transformers",
"yt_dlp"
"yt_dlp",
"textwrap3"
]
if is_win:
hidden_imports.append("frozendict")
analysis_kwargs = dict(
scripts=[os.path.join(os.getcwd(), "terminal.py")],
pathex=[pathex, "."],