mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
more spec
This commit is contained in:
16
build/pyinstaller/terminal.spec
vendored
16
build/pyinstaller/terminal.spec
vendored
@@ -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, "."],
|
||||
|
||||
Reference in New Issue
Block a user