mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 13:30:36 +01:00
Updated build
This commit is contained in:
parent
a90364dd5b
commit
5aa7e91460
7
setup.py
7
setup.py
@ -30,7 +30,7 @@ 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()
|
||||||
@ -67,7 +67,10 @@ package_data = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
print("Packaging Sideband "+__version__+" "+__variant__)
|
variant_str = ""
|
||||||
|
if __variant__:
|
||||||
|
variant_str = " "+__variant__
|
||||||
|
print("Packaging Sideband "+__version__+variant_str)
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="sbapp",
|
name="sbapp",
|
||||||
|
Loading…
Reference in New Issue
Block a user