mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-05-07 14:14:41 -04:00
17 lines
389 B
Python
17 lines
389 B
Python
# SPDX-FileCopyrightText: 2022 James R. Barlow
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
"""Get version by introspecting package information.
|
|
|
|
OCRmyPDF uses setuptools_scm to derive version from git tags.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from importlib.metadata import version as _package_version
|
|
|
|
PROGRAM_NAME = 'ocrmypdf'
|
|
|
|
# Official PEP 396
|
|
__version__ = _package_version('ocrmypdf')
|