wowool-sdk-cpp 3.5.2__tar.gz → 3.5.3.dev1__tar.gz

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.
Files changed (24) hide show
  1. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/PKG-INFO +1 -1
  2. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/pre_setup.py +2 -2
  3. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/setup.py +1 -1
  4. wowool_sdk_cpp-3.5.3.dev1/version.txt +1 -0
  5. wowool_sdk_cpp-3.5.3.dev1/wowool/package/lib/wowool_plugin.py +22 -0
  6. wowool_sdk_cpp-3.5.3.dev1/wowool/package/lib/wowool_sdk.py +35 -0
  7. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool_sdk_cpp.egg-info/PKG-INFO +1 -1
  8. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool_sdk_cpp.egg-info/SOURCES.txt +2 -0
  9. wowool_sdk_cpp-3.5.2/version.txt +0 -1
  10. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/MANIFEST.in +0 -0
  11. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/common_setup.py +0 -0
  12. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/install_requires.txt +0 -0
  13. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/install_requires_wowool.txt +0 -0
  14. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/long_description.md +0 -0
  15. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/pyproject.toml +0 -0
  16. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/sdk_version.txt +0 -0
  17. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/setup.cfg +0 -0
  18. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool/native/core/wowool_sdk.cpp +0 -0
  19. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool/plugin/wowool_plugin.cpp +0 -0
  20. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool/plugin/wowool_plugin.hpp +0 -0
  21. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool_sdk_cpp.egg-info/dependency_links.txt +0 -0
  22. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool_sdk_cpp.egg-info/entry_points.txt +0 -0
  23. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool_sdk_cpp.egg-info/not-zip-safe +0 -0
  24. {wowool_sdk_cpp-3.5.2 → wowool_sdk_cpp-3.5.3.dev1}/wowool_sdk_cpp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wowool-sdk-cpp
3
- Version: 3.5.2
3
+ Version: 3.5.3.dev1
4
4
  Summary: Wowool NLP Toolkit
5
5
  Author: Wowool
6
6
  Requires-Python: >=3.11
@@ -186,7 +186,7 @@ def prep_build_setup(wow_stage: Path):
186
186
  if target_fn.exists():
187
187
  target_fn.unlink()
188
188
  target_fn.parent.mkdir(parents=True, exist_ok=True)
189
- logger.info(f"copy2 {fn} --> {target_fn}")
189
+ logger.info(f"!!!!! COPY3 {fn} --> {target_fn}")
190
190
  shutil.copy2(fn, target_fn)
191
191
 
192
192
  # copy icu
@@ -234,8 +234,8 @@ def post_build_setup(stage: Path):
234
234
  """
235
235
 
236
236
  print("post_build ... ")
237
-
238
237
  files = [fn for fn in stage.glob(f"lib/*{NATIVE_SO_EXT}")]
239
238
  for fn in files:
239
+ print(f"post_build : remove rpaths {fn}")
240
240
  remove_rpath(fn)
241
241
  set_rpath_origin(fn)
@@ -199,7 +199,7 @@ def extract_archive(file_path, archive_folder):
199
199
  cmd = f"tar -xvf {file_path} -C {str(archive_folder)} --strip-components=1"
200
200
  run(cmd, shell=True, check=True)
201
201
  for fn in archive_folder.glob("**/*"):
202
- print(f"[EOT] - {fn}")
202
+ print(f"[WOWOOL] - {fn}")
203
203
 
204
204
 
205
205
  WOWOOL_STAGE, bin_folders, lib_folders, inc_folders = get_folders(Path(__file__).parent.resolve(), SYSTEM_NAME)
@@ -0,0 +1 @@
1
+ 3.5.3.dev1
@@ -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,35 @@
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
+ compile_domain,
33
+ analyzer,
34
+ engine,
35
+ ) # noqa
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wowool-sdk-cpp
3
- Version: 3.5.2
3
+ Version: 3.5.3.dev1
4
4
  Summary: Wowool NLP Toolkit
5
5
  Author: Wowool
6
6
  Requires-Python: >=3.11
@@ -9,6 +9,8 @@ sdk_version.txt
9
9
  setup.py
10
10
  version.txt
11
11
  wowool/native/core/wowool_sdk.cpp
12
+ wowool/package/lib/wowool_plugin.py
13
+ wowool/package/lib/wowool_sdk.py
12
14
  wowool/plugin/wowool_plugin.cpp
13
15
  wowool/plugin/wowool_plugin.hpp
14
16
  wowool_sdk_cpp.egg-info/PKG-INFO
@@ -1 +0,0 @@
1
- 3.5.2