wowool-sdk-cpp 3.6.1__cp313-cp313-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.
@@ -0,0 +1,22 @@
1
+ from pathlib import Path
2
+ import os
3
+ import sys
4
+
5
+ if "WOWOOL_ROOT" in os.environ:
6
+ WOWOOL_ROOT = os.environ["WOWOOL_ROOT"]
7
+ expanded_wowool_root = Path(WOWOOL_ROOT).expanduser().resolve()
8
+ import platform
9
+
10
+ if platform.system() == "Windows":
11
+ WOWOOL_LIB = expanded_wowool_root / "bin"
12
+ if str(WOWOOL_LIB) not in sys.path:
13
+ sys.path.append(str(WOWOOL_LIB))
14
+ WOWOOL_LIB = expanded_wowool_root / "lib"
15
+ else:
16
+ WOWOOL_LIB = Path(__file__).resolve().parent
17
+ os.environ["WOWOOL_ROOT"] = str(WOWOOL_LIB.parent)
18
+
19
+ if str(WOWOOL_LIB) not in sys.path:
20
+ sys.path.append(str(WOWOOL_LIB))
21
+
22
+ from _wowool_plugin import * # noqa: F401, F403
@@ -0,0 +1,36 @@
1
+ from pathlib import Path
2
+ import os
3
+ import sys
4
+
5
+
6
+ if "WOWOOL_ROOT" in os.environ:
7
+ WOWOOL_ROOT = os.environ["WOWOOL_ROOT"]
8
+ expanded_wowool_root = Path(WOWOOL_ROOT).expanduser().resolve()
9
+ import platform
10
+
11
+ if platform.system() == "Windows":
12
+ WOWOOL_LIB = expanded_wowool_root / "bin"
13
+ if str(WOWOOL_LIB) not in sys.path:
14
+ sys.path.append(str(WOWOOL_LIB))
15
+ WOWOOL_LIB = expanded_wowool_root / "lib"
16
+ else:
17
+ WOWOOL_LIB = Path(__file__).resolve().parent
18
+ os.environ["WOWOOL_ROOT"] = str(WOWOOL_LIB.parent)
19
+
20
+ if str(WOWOOL_LIB) not in sys.path:
21
+ sys.path.append(str(WOWOOL_LIB))
22
+
23
+
24
+ from _wowool_sdk import * # noqa
25
+ from _wowool_sdk import (
26
+ TirException,
27
+ domain,
28
+ get_domain_info,
29
+ results,
30
+ TirJsonException,
31
+ pipeline_expand,
32
+ pipeline_parse,
33
+ compile_domain,
34
+ analyzer,
35
+ engine,
36
+ ) # noqa