mirror of
https://github.com/markqvist/Sideband.git
synced 2024-12-26 07:59:23 -05: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]
|
||||
return version
|
||||
except IndexError:
|
||||
raise ValueError(f"Unable to find version string in {version_file}.")
|
||||
return None
|
||||
|
||||
__version__ = get_version()
|
||||
__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(
|
||||
name="sbapp",
|
||||
|
Loading…
Reference in New Issue
Block a user