2025-08-21 08:40:31 -07:00
|
|
|
"""Root package for the MTG deckbuilder source tree.
|
|
|
|
|
2025-08-22 16:32:39 -07:00
|
|
|
Ensures `python -m code.*` resolves to this project and adjusts sys.path so
|
|
|
|
legacy absolute imports like `import logging_util` (modules living under this
|
|
|
|
package) work whether you run files directly or as modules.
|
2025-08-21 08:40:31 -07:00
|
|
|
"""
|
|
|
|
|
2025-08-22 16:32:39 -07:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
# Make the package directory importable as a top-level for legacy absolute imports
|
|
|
|
_PKG_DIR = os.path.dirname(__file__)
|
|
|
|
if _PKG_DIR and _PKG_DIR not in sys.path:
|
|
|
|
sys.path.insert(0, _PKG_DIR)
|
|
|
|
|
2025-08-21 08:40:31 -07:00
|
|
|
__all__ = []
|