Files
index/index1c/__init__.py
T
mihailkudravcev a9d1215820 Release 0.2.0: object tree, refs/modules options, docs
Add query object (--clear), modules -n, composite refs labels,
FillChecking/TypeSet parsing, VERSION/CHANGELOG and --version.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 16:37:41 +03:00

15 lines
547 B
Python

"""Индексация метаданных и модулей конфигураций 1С (выгрузки EDT/XML)."""
from pathlib import Path
__version__ = "0.2.0"
__status__ = "in development"
def read_version_file() -> str:
"""Версия из файла VERSION рядом со скриптами (источник истины для релиза)."""
path = Path(__file__).resolve().parents[1] / "VERSION"
if path.is_file():
return path.read_text(encoding="utf-8").strip() or __version__
return __version__