-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path__init__.py
37 lines (33 loc) · 837 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from __future__ import annotations
import importlib.metadata
# package imports
from .MKVAttachment import MKVAttachment
from .MKVFile import MKVFile
from .MKVTrack import MKVTrack
from .Timestamp import Timestamp
from .Verifications import (
checking_file_path,
get_file_info,
verify_matroska,
verify_mkvmerge,
verify_recognized,
verify_supported,
)
# set the version number within the package using importlib
try:
__version__: str | None = importlib.metadata.version("pymkv2")
except importlib.metadata.PackageNotFoundError:
# package is not installed
__version__ = None
__all__ = (
"MKVAttachment",
"MKVFile",
"MKVTrack",
"Timestamp",
"checking_file_path",
"get_file_info",
"verify_matroska",
"verify_mkvmerge",
"verify_recognized",
"verify_supported",
)