merman 0.7.0__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
merman/__init__.py ADDED
@@ -0,0 +1,15 @@
1
+ """Python package shim for generated merman UniFFI bindings."""
2
+
3
+ try:
4
+ from .merman_uniffi import MermanEngine, MermanError, MermanValidationResult
5
+ except ModuleNotFoundError as exc:
6
+ if exc.name == f"{__name__}.merman_uniffi":
7
+ raise ImportError(
8
+ "Generated merman UniFFI bindings are missing. "
9
+ "Run `cargo build -p merman-uniffi --features bindgen-smoke`, then "
10
+ "`cargo run -p merman-uniffi --features bindgen-smoke --example "
11
+ "generate_python_package -- --package-dir platforms/python/merman`."
12
+ ) from exc
13
+ raise
14
+
15
+ __all__ = ["MermanEngine", "MermanError", "MermanValidationResult"]
Binary file