add version command
All checks were successful
Test suites / test-build-install (pull_request) Successful in 27s
Test suites / selftest (pull_request) Successful in 55s
Test suites / pylint (pull_request) Successful in 32s
Test suites / formatting (pull_request) Successful in 27s
Test suites / mypy (pull_request) Successful in 29s
Test suites / reuse (pull_request) Successful in 6s

This commit is contained in:
2024-01-16 15:59:08 +01:00
parent 40739fcc08
commit 0b28839035
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")