23 lines
512 B
Python
23 lines
512 B
Python
__version__ = "1.0.1"
|
|
|
|
# --- custom ---
|
|
from custom_lib import my_file_config
|
|
from custom_lib import my_logger
|
|
from custom_lib import my_uuid
|
|
from custom_lib import my_image
|
|
|
|
MODULES = [
|
|
my_file_config,
|
|
my_logger,
|
|
my_uuid,
|
|
my_image,
|
|
]
|
|
|
|
def print_versions():
|
|
for module in MODULES:
|
|
version = getattr(module, "__version__", "unknown")
|
|
print(f"[MODULE] {module.__name__} v{version}")
|
|
|
|
def init():
|
|
print(f"Custom_Lib v{__version__}")
|
|
print_versions() |