mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-12-27 20:48:39 +01:00
Updated freeze file
This commit is contained in:
parent
364463c541
commit
2e5d557aa7
@ -30,10 +30,13 @@ def get_variant() -> str:
|
|||||||
version = re.findall(version_regex, version_file_data, re.M)[0]
|
version = re.findall(version_regex, version_file_data, re.M)[0]
|
||||||
return version
|
return version
|
||||||
except IndexError:
|
except IndexError:
|
||||||
raise ValueError(f"Unable to find version string in {version_file}.")
|
return None
|
||||||
|
|
||||||
__version__ = get_version()
|
__version__ = get_version()
|
||||||
__variant__ = get_variant()
|
__variant__ = get_variant()
|
||||||
|
variant_str = ""
|
||||||
|
if __variant__:
|
||||||
|
variant_str = " "+__variant__
|
||||||
|
|
||||||
def glob_paths(pattern):
|
def glob_paths(pattern):
|
||||||
out_files = []
|
out_files = []
|
||||||
@ -60,14 +63,14 @@ package_data = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
print("Freezing Sideband "+__version__+" "+__variant__)
|
print("Freezing Sideband "+__version__+" "+variant_str)
|
||||||
|
|
||||||
if build_appimage:
|
if build_appimage:
|
||||||
global_excludes = [".buildozer", "build", "dist"]
|
global_excludes = [".buildozer", "build", "dist"]
|
||||||
# Dependencies are automatically detected, but they might need fine-tuning.
|
# Dependencies are automatically detected, but they might need fine-tuning.
|
||||||
appimage_options = {
|
appimage_options = {
|
||||||
"target_name": "Sideband",
|
"target_name": "Sideband",
|
||||||
"target_version": __version__+" "+__variant__,
|
"target_version": __version__+" "+variant_str,
|
||||||
"include_files": [],
|
"include_files": [],
|
||||||
"excludes": [],
|
"excludes": [],
|
||||||
"packages": ["kivy"],
|
"packages": ["kivy"],
|
||||||
|
Loading…
Reference in New Issue
Block a user