bec-widgets 0.79.0__py3-none-any.whl → 0.79.1__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.
- CHANGELOG.md +6 -4
- PKG-INFO +1 -1
- bec_widgets/utils/bec_designer.py +14 -12
- {bec_widgets-0.79.0.dist-info → bec_widgets-0.79.1.dist-info}/METADATA +1 -1
- {bec_widgets-0.79.0.dist-info → bec_widgets-0.79.1.dist-info}/RECORD +9 -9
- pyproject.toml +1 -1
- {bec_widgets-0.79.0.dist-info → bec_widgets-0.79.1.dist-info}/WHEEL +0 -0
- {bec_widgets-0.79.0.dist-info → bec_widgets-0.79.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.79.0.dist-info → bec_widgets-0.79.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.79.1 (2024-07-03)
|
4
|
+
|
5
|
+
### Fix
|
6
|
+
|
7
|
+
* fix: use libdir env var to preload Python library, also for Linux platform ([`d7718d4`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/d7718d4dcb9728c050b6421388af4d484f3741f2))
|
8
|
+
|
3
9
|
## v0.79.0 (2024-07-03)
|
4
10
|
|
5
11
|
### Feature
|
@@ -143,7 +149,3 @@
|
|
143
149
|
### Fix
|
144
150
|
|
145
151
|
* fix(vscode): only run terminate if the process is still alive ([`7120f3e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/7120f3e93b054b788f15e2d5bcd688e3c140c1ce))
|
146
|
-
|
147
|
-
* fix(rpc): trigger shutdown of server when gui is terminated ([`acc1318`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/acc13183e28030e3ca9af21bb081e1eed081622b))
|
148
|
-
|
149
|
-
* fix(rpc): remove of calling "close" and waiting for gui_is_alive ([`f75fc19`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f75fc19c5b10022763252917ca473f404a25165a))
|
PKG-INFO
CHANGED
@@ -73,26 +73,28 @@ def patch_designer(): # pragma: no cover
|
|
73
73
|
os.environ["PY_MAJOR_VERSION"] = str(major_version)
|
74
74
|
os.environ["PY_MINOR_VERSION"] = str(minor_version)
|
75
75
|
|
76
|
-
if sys.platform == "
|
76
|
+
if sys.platform == "win32":
|
77
|
+
if is_virtual_env():
|
78
|
+
_extend_path_var("PATH", os.fspath(Path(sys._base_executable).parent), True)
|
79
|
+
else:
|
80
|
+
if sys.platform == "linux":
|
81
|
+
suffix = f"{sys.abiflags}.so"
|
82
|
+
env_var = "LD_PRELOAD"
|
83
|
+
elif sys.platform == "darwin":
|
84
|
+
suffix = ".dylib"
|
85
|
+
env_var = "DYLD_INSERT_LIBRARIES"
|
86
|
+
else:
|
87
|
+
raise RuntimeError(f"Unsupported platform: {sys.platform}")
|
77
88
|
version = f"{major_version}.{minor_version}"
|
78
|
-
library_name = f"libpython{version}{
|
79
|
-
if is_pyenv_python():
|
80
|
-
library_name = str(Path(sysconfig.get_config_var("LIBDIR")) / library_name)
|
81
|
-
os.environ["LD_PRELOAD"] = library_name
|
82
|
-
elif sys.platform == "darwin":
|
83
|
-
library_name = f"libpython{major_version}.{minor_version}.dylib"
|
89
|
+
library_name = f"libpython{version}{suffix}"
|
84
90
|
lib_path = str(Path(sysconfig.get_config_var("LIBDIR")) / library_name)
|
85
|
-
os.environ[
|
91
|
+
os.environ[env_var] = lib_path
|
86
92
|
|
87
93
|
if is_pyenv_python() or is_virtual_env():
|
88
94
|
# append all editable packages to the PYTHONPATH
|
89
95
|
editable_packages = list_editable_packages()
|
90
96
|
for pckg in editable_packages:
|
91
97
|
_extend_path_var("PYTHONPATH", pckg, True)
|
92
|
-
elif sys.platform == "win32":
|
93
|
-
if is_virtual_env():
|
94
|
-
_extend_path_var("PATH", os.fspath(Path(sys._base_executable).parent), True)
|
95
|
-
|
96
98
|
qt_tool_wrapper(ui_tool_binary("designer"), sys.argv[1:])
|
97
99
|
|
98
100
|
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=RnYDz4zKXjlqltTryprlB1s5vLXxI2-seW-Vb70NNF0,8162
|
3
3
|
.pylintrc,sha256=OstrgmEyP0smNFBKoIN5_26-UmNZgMHnbjvAWX0UrLs,18535
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=pdwhbdbQLOlVP8AEjRkhj-O5AHC8UPasmD5XhuA-D7U,7105
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=C2PR5dChRiBjSv03ME8uiQ3J1i5ub8NbNj6eZ-4fOPM,1427
|
8
8
|
README.md,sha256=y4jB6wvArS7N8_iTbKWnSM_oRAqLA2GqgzUR-FMh5sU,2645
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=v8po8TOQhWpG4Lkc1vYj4ObhtbSXQmxVSxF2GqcR23M,2403
|
10
10
|
.git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
|
11
11
|
.gitlab/issue_templates/bug_report_template.md,sha256=gAuyEwl7XlnebBrkiJ9AqffSNOywmr8vygUFWKTuQeI,386
|
12
12
|
.gitlab/issue_templates/documentation_update_template.md,sha256=FHLdb3TS_D9aL4CYZCjyXSulbaW5mrN2CmwTaeLPbNw,860
|
@@ -39,7 +39,7 @@ bec_widgets/examples/plugin_example_pyside/tictactoeplugin.py,sha256=BBt3MD8oDLU
|
|
39
39
|
bec_widgets/examples/plugin_example_pyside/tictactoetaskmenu.py,sha256=LNwplI6deUdKY6FOhUuWBanotxk9asF2G-6k7lFfA8Y,2301
|
40
40
|
bec_widgets/utils/__init__.py,sha256=1930ji1Jj6dVuY81Wd2kYBhHYNV-2R0bN_L4o9zBj1U,533
|
41
41
|
bec_widgets/utils/bec_connector.py,sha256=ZWaN9C2CKwqj4NIL1irxNDRyMJ1cBSkCAzb6xmxTIKw,9472
|
42
|
-
bec_widgets/utils/bec_designer.py,sha256=
|
42
|
+
bec_widgets/utils/bec_designer.py,sha256=ak3G8FdojUPjVBBwdPXw7tN5P2Uxr-SSoQt394jXeAA,4308
|
43
43
|
bec_widgets/utils/bec_dispatcher.py,sha256=QZjRKNrZ181yt_6nLJCfdNk5EyeaGImApNA1FWR4rqo,6186
|
44
44
|
bec_widgets/utils/bec_table.py,sha256=nA2b8ukSeUfquFMAxGrUVOqdrzMoDYD6O_4EYbOG2zk,717
|
45
45
|
bec_widgets/utils/colors.py,sha256=CP_lwj757CpwdVhWSfdNEXKFCEVVVF48DizD2WJKSwI,9759
|
@@ -244,8 +244,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
244
244
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
245
245
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
246
246
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
247
|
-
bec_widgets-0.79.
|
248
|
-
bec_widgets-0.79.
|
249
|
-
bec_widgets-0.79.
|
250
|
-
bec_widgets-0.79.
|
251
|
-
bec_widgets-0.79.
|
247
|
+
bec_widgets-0.79.1.dist-info/METADATA,sha256=C2PR5dChRiBjSv03ME8uiQ3J1i5ub8NbNj6eZ-4fOPM,1427
|
248
|
+
bec_widgets-0.79.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
249
|
+
bec_widgets-0.79.1.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
250
|
+
bec_widgets-0.79.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
251
|
+
bec_widgets-0.79.1.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|