1
0

🤖 Repository layout updated to latest version

This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager)
This commit is contained in:
Takunomi Automaticus, The 2nd 2025-05-14 23:54:31 +02:00 committed by Jon Michael Aanes
parent ff4a975c79
commit 7c76ece99a

View File

@ -30,7 +30,6 @@ Defined hierarchy:
PACKAGE_DESCRIPTION_SHORT = """
Python library defining base types for financial processing.""".strip()
def parse_version_file(text: str) -> str:
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
if match is None:
@ -38,7 +37,6 @@ def parse_version_file(text: str) -> str:
raise Exception(msg)
return match.group(2)
with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read())