mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-31 06:22:18 +00:00
OBBFF to OPENBB in terminal.spec
This commit is contained in:
6
build/pyinstaller/terminal.spec
vendored
6
build/pyinstaller/terminal.spec
vendored
@@ -24,11 +24,11 @@ pathex = os.path.join(
|
||||
# Get latest commit
|
||||
commit_hash = get_commit_hash()
|
||||
build_assets_folder = os.path.join(os.getcwd(), "build", "pyinstaller")
|
||||
default_feature_flags_path = os.path.join(build_assets_folder, "OBBFF_DEFAULTS.json")
|
||||
default_feature_flags_path = os.path.join(build_assets_folder, "OPENBB_DEFAULTS.json")
|
||||
with open(default_feature_flags_path, "r") as f:
|
||||
default_gtff = json.load(f)
|
||||
|
||||
default_gtff["OBBFF_LOGGING_COMMIT_HASH"] = commit_hash
|
||||
default_gtff["OPENBB_LOGGING_COMMIT_HASH"] = commit_hash
|
||||
with open(default_feature_flags_path, "w") as f:
|
||||
json.dump(default_gtff, f, indent=4)
|
||||
|
||||
@@ -49,7 +49,7 @@ added_files = [
|
||||
os.path.join(pathex, "statsmodels", "datasets"),
|
||||
os.path.join("statsmodels", "datasets"),
|
||||
),
|
||||
("OBBFF_DEFAULTS.json", "openbb_terminal"),
|
||||
("OPENBB_DEFAULTS.json", "openbb_terminal"),
|
||||
]
|
||||
|
||||
# Python libraries that are explicitly pulled into the bundle
|
||||
|
||||
Reference in New Issue
Block a user