add version command
All checks were successful
Python Linters / pylint (pull_request) Successful in 31s
Python Linters / formatting (pull_request) Successful in 28s
Python Linters / mypy (pull_request) Successful in 28s
REUSE Compliance / reuse (pull_request) Successful in 6s
Selftests / test-build-install (pull_request) Successful in 25s
Selftests / test-sync (pull_request) Successful in 49s

This commit is contained in:
2024-01-16 15:59:08 +01:00
parent a238d89976
commit ba1aab5f7e
3 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
#
# SPDX-License-Identifier: Apache-2.0
"""Global init file"""
from importlib.metadata import version
__version__ = version("seafile-mirror")