mirror of
https://github.com/markqvist/Sideband.git
synced 2024-12-27 00:19:25 -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]
|
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