idea161-civicpulse-privacy-.../idea161_civicpulse_privacy_.../__init__.py

21 lines
752 B
Python

"""Bridge package to expose the implementation under src/ when using a
src-layout repository.
Tests import `idea161_civicpulse_privacy_preserving.*` from the repository
root. The actual code lives under `src/idea161_civicpulse_privacy_preserving`.
This small shim makes the top-level package resolvable by adding the src
path to the package search path.
"""
import os
# Path to the actual implementation root (src/idea161_civicpulse_privacy_preserving)
SRC_SUBPATH = os.path.abspath(
os.path.join(os.path.dirname(__file__), "..", "src", "idea161_civicpulse_privacy_preserving"
)
)
if os.path.isdir(SRC_SUBPATH) and SRC_SUBPATH not in __path__:
__path__.append(SRC_SUBPATH)
__all__ = ["models", "engine", "governance", "adapters", "policy"]