iris-pex-embedded-python 3.4.4b2__py3-none-any.whl → 3.4.4b3__py3-none-any.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.
Potentially problematic release.
This version of iris-pex-embedded-python might be problematic. Click here for more details.
- iop/_utils.py +14 -5
- {iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/METADATA +1 -2
- {iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/RECORD +7 -7
- {iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/WHEEL +0 -0
- {iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/entry_points.txt +0 -0
- {iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/licenses/LICENSE +0 -0
- {iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/top_level.txt +0 -0
iop/_utils.py
CHANGED
|
@@ -4,9 +4,9 @@ import ast
|
|
|
4
4
|
from . import _iris
|
|
5
5
|
import inspect
|
|
6
6
|
import xmltodict
|
|
7
|
-
import pkg_resources
|
|
8
7
|
import importlib
|
|
9
8
|
import importlib.util
|
|
9
|
+
import importlib.resources
|
|
10
10
|
import json
|
|
11
11
|
from iop._message import _Message, _PydanticMessage
|
|
12
12
|
from pydantic import TypeAdapter
|
|
@@ -26,13 +26,22 @@ class _Utils():
|
|
|
26
26
|
def setup(path:str = None):
|
|
27
27
|
|
|
28
28
|
if path is None:
|
|
29
|
-
# get the path of the data folder with
|
|
30
|
-
|
|
29
|
+
# get the path of the data folder with importlib.resources
|
|
30
|
+
try:
|
|
31
|
+
path = importlib.resources.files('iop').joinpath('cls')
|
|
32
|
+
path = str(path)
|
|
33
|
+
except ModuleNotFoundError:
|
|
34
|
+
path = None
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
if path:
|
|
37
|
+
_Utils.raise_on_error(_iris.get_iris().cls('%SYSTEM.OBJ').LoadDir(path,'cubk',"*.cls",1))
|
|
33
38
|
|
|
34
39
|
# for retrocompatibility load grongier.pex
|
|
35
|
-
|
|
40
|
+
try:
|
|
41
|
+
path = importlib.resources.files('grongier').joinpath('cls')
|
|
42
|
+
path = str(path)
|
|
43
|
+
except ModuleNotFoundError:
|
|
44
|
+
path = None
|
|
36
45
|
|
|
37
46
|
if path:
|
|
38
47
|
_Utils.raise_on_error(_iris.get_iris().cls('%SYSTEM.OBJ').LoadDir(path,'cubk',"*.cls",1))
|
{iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: iris_pex_embedded_python
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.4b3
|
|
4
4
|
Summary: Iris Interoperability based on Embedded Python
|
|
5
5
|
Author-email: grongier <guillaume.rongier@intersystems.com>
|
|
6
6
|
License: MIT License
|
|
@@ -47,7 +47,6 @@ License-File: LICENSE
|
|
|
47
47
|
Requires-Dist: pydantic>=2.0.0
|
|
48
48
|
Requires-Dist: xmltodict>=0.12.0
|
|
49
49
|
Requires-Dist: iris-embedded-python-wrapper>=0.0.6
|
|
50
|
-
Requires-Dist: setuptools>=40.8.0
|
|
51
50
|
Requires-Dist: jsonpath-ng>=1.7.0
|
|
52
51
|
Requires-Dist: debugpy>=1.8.0
|
|
53
52
|
Dynamic: license-file
|
{iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/RECORD
RENAMED
|
@@ -49,7 +49,7 @@ iop/_outbound_adapter.py,sha256=YTAhLrRf9chEAd53mV6KKbpaHOKNOKJHoGgj5wakRR0,726
|
|
|
49
49
|
iop/_private_session_duplex.py,sha256=mzlFABh-ly51X1uSWw9YwQbktfMvuNdp2ALlRvlDow4,5152
|
|
50
50
|
iop/_private_session_process.py,sha256=todprfYFSDr-h-BMvWL_IGC6wbQqkMy3mPHWEWCUSE0,1686
|
|
51
51
|
iop/_serialization.py,sha256=lS5zHS14Olpw2i2s-cXMHV8CsjJLNmYdAhfZFvLfqe4,6652
|
|
52
|
-
iop/_utils.py,sha256=
|
|
52
|
+
iop/_utils.py,sha256=WOgLREeqdUPvaSlzLaasmUCrAzi8EgFMsXFVaj8TaoU,20359
|
|
53
53
|
iop/cls/IOP/BusinessOperation.cls,sha256=E4rnujZi3QFd3uLtZ5YjLiMU_FWoN1gkBe19kxmYO34,932
|
|
54
54
|
iop/cls/IOP/BusinessProcess.cls,sha256=81B2ypqp4N3q2c943-hHw-Z6BIEWZqnDu-ZlHvhln6Q,3126
|
|
55
55
|
iop/cls/IOP/BusinessService.cls,sha256=fplKrbQgA7cQgjKIqDR2IK2iD1iNHmT-QvWrozhE4n4,1189
|
|
@@ -72,9 +72,9 @@ iop/cls/IOP/PrivateSession/Message/Start.cls,sha256=uk-WTe66GicCshgmVy3F5ugHiAyP
|
|
|
72
72
|
iop/cls/IOP/PrivateSession/Message/Stop.cls,sha256=7g3gKFUjNg0WXBLuWnj-VnCs5G6hSE09YTzGEp0zbGc,1390
|
|
73
73
|
iop/cls/IOP/Service/WSGI.cls,sha256=VLNCXEwmHW9dBnE51uGE1nvGX6T4HjhqePT3LVhsjAE,10440
|
|
74
74
|
iop/wsgi/handlers.py,sha256=NrFLo_YbAh-x_PlWhAiWkQnUUN2Ss9HoEm63dDWCBpQ,2947
|
|
75
|
-
iris_pex_embedded_python-3.4.
|
|
76
|
-
iris_pex_embedded_python-3.4.
|
|
77
|
-
iris_pex_embedded_python-3.4.
|
|
78
|
-
iris_pex_embedded_python-3.4.
|
|
79
|
-
iris_pex_embedded_python-3.4.
|
|
80
|
-
iris_pex_embedded_python-3.4.
|
|
75
|
+
iris_pex_embedded_python-3.4.4b3.dist-info/licenses/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
|
|
76
|
+
iris_pex_embedded_python-3.4.4b3.dist-info/METADATA,sha256=BaWqBY_Rve5zibn358CJMYnUQ8XQKvyS3KBQbil8WAg,4415
|
|
77
|
+
iris_pex_embedded_python-3.4.4b3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
78
|
+
iris_pex_embedded_python-3.4.4b3.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
|
|
79
|
+
iris_pex_embedded_python-3.4.4b3.dist-info/top_level.txt,sha256=4p0q6hCATmYIVMVi3I8hOUcJE1kwzyBeHygWv_rGvrU,13
|
|
80
|
+
iris_pex_embedded_python-3.4.4b3.dist-info/RECORD,,
|
{iris_pex_embedded_python-3.4.4b2.dist-info → iris_pex_embedded_python-3.4.4b3.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|