OBBFF to OPENBB in terminal.spec

This commit is contained in:
Theodore Aptekarev
2022-03-29 18:42:35 +03:00
parent e553d8b3fd
commit 6b4536d5b6

View File

@@ -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