winrt-Windows.Perception.Spatial.Preview 2.1.0__tar.gz → 2.2.0__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.
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/PKG-INFO +5 -5
- winrt_windows_perception_spatial_preview-2.2.0/all-requirements.txt +4 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/py.Windows.Perception.Spatial.Preview.cpp +85 -13
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/pyproject.toml +3 -2
- winrt_windows_perception_spatial_preview-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/requirements.txt +2 -2
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/winrt/_winrt_windows_perception_spatial_preview.pyi +1 -1
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/winrt/windows/perception/spatial/preview/__init__.py +1 -1
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/PKG-INFO +5 -5
- winrt_windows_perception_spatial_preview-2.2.0/winrt_Windows.Perception.Spatial.Preview.egg-info/requires.txt +5 -0
- winrt_windows_perception_spatial_preview-2.1.0/all-requirements.txt +0 -4
- winrt_windows_perception_spatial_preview-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_perception_spatial_preview-2.1.0/winrt_Windows.Perception.Spatial.Preview.egg-info/requires.txt +0 -5
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/README.md +0 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/setup.cfg +0 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/setup.py +0 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/winrt/windows/perception/spatial/preview/py.typed +0 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/SOURCES.txt +0 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/dependency_links.txt +0 -0
- {winrt_windows_perception_spatial_preview-2.1.0 → winrt_windows_perception_spatial_preview-2.2.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Perception.Spatial.Preview
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Perception.Spatial.Preview.h"
|
|
4
4
|
|
|
@@ -25,7 +25,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
25
25
|
{
|
|
26
26
|
try
|
|
27
27
|
{
|
|
28
|
-
|
|
28
|
+
static std::optional<bool> is_property_present{};
|
|
29
|
+
|
|
30
|
+
if (!is_property_present.has_value())
|
|
31
|
+
{
|
|
32
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"CoordinateSystem");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (!is_property_present.value())
|
|
29
36
|
{
|
|
30
37
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
31
38
|
return nullptr;
|
|
@@ -44,7 +51,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
44
51
|
{
|
|
45
52
|
try
|
|
46
53
|
{
|
|
47
|
-
|
|
54
|
+
static std::optional<bool> is_property_present{};
|
|
55
|
+
|
|
56
|
+
if (!is_property_present.has_value())
|
|
57
|
+
{
|
|
58
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"CoordinateSystemToNodeTransform");
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (!is_property_present.value())
|
|
48
62
|
{
|
|
49
63
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
50
64
|
return nullptr;
|
|
@@ -63,7 +77,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
63
77
|
{
|
|
64
78
|
try
|
|
65
79
|
{
|
|
66
|
-
|
|
80
|
+
static std::optional<bool> is_property_present{};
|
|
81
|
+
|
|
82
|
+
if (!is_property_present.has_value())
|
|
83
|
+
{
|
|
84
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"NodeId");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (!is_property_present.value())
|
|
67
88
|
{
|
|
68
89
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
69
90
|
return nullptr;
|
|
@@ -147,7 +168,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
147
168
|
{
|
|
148
169
|
try
|
|
149
170
|
{
|
|
150
|
-
|
|
171
|
+
static std::optional<bool> is_overload_present{};
|
|
172
|
+
|
|
173
|
+
if (!is_overload_present.has_value())
|
|
174
|
+
{
|
|
175
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 1);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
if (!is_overload_present.value())
|
|
151
179
|
{
|
|
152
180
|
py::set_arg_count_version_error(1);
|
|
153
181
|
return nullptr;
|
|
@@ -167,7 +195,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
167
195
|
{
|
|
168
196
|
try
|
|
169
197
|
{
|
|
170
|
-
|
|
198
|
+
static std::optional<bool> is_overload_present{};
|
|
199
|
+
|
|
200
|
+
if (!is_overload_present.has_value())
|
|
201
|
+
{
|
|
202
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 2);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if (!is_overload_present.value())
|
|
171
206
|
{
|
|
172
207
|
py::set_arg_count_version_error(2);
|
|
173
208
|
return nullptr;
|
|
@@ -188,7 +223,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
188
223
|
{
|
|
189
224
|
try
|
|
190
225
|
{
|
|
191
|
-
|
|
226
|
+
static std::optional<bool> is_overload_present{};
|
|
227
|
+
|
|
228
|
+
if (!is_overload_present.has_value())
|
|
229
|
+
{
|
|
230
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 3);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (!is_overload_present.value())
|
|
192
234
|
{
|
|
193
235
|
py::set_arg_count_version_error(3);
|
|
194
236
|
return nullptr;
|
|
@@ -221,7 +263,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
221
263
|
{
|
|
222
264
|
try
|
|
223
265
|
{
|
|
224
|
-
|
|
266
|
+
static std::optional<bool> is_overload_present{};
|
|
267
|
+
|
|
268
|
+
if (!is_overload_present.has_value())
|
|
269
|
+
{
|
|
270
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateLocatorForNode", 1);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if (!is_overload_present.value())
|
|
225
274
|
{
|
|
226
275
|
py::set_arg_count_version_error(1);
|
|
227
276
|
return nullptr;
|
|
@@ -252,7 +301,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
252
301
|
{
|
|
253
302
|
try
|
|
254
303
|
{
|
|
255
|
-
|
|
304
|
+
static std::optional<bool> is_overload_present{};
|
|
305
|
+
|
|
306
|
+
if (!is_overload_present.has_value())
|
|
307
|
+
{
|
|
308
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 1);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
if (!is_overload_present.value())
|
|
256
312
|
{
|
|
257
313
|
py::set_arg_count_version_error(1);
|
|
258
314
|
return nullptr;
|
|
@@ -272,7 +328,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
272
328
|
{
|
|
273
329
|
try
|
|
274
330
|
{
|
|
275
|
-
|
|
331
|
+
static std::optional<bool> is_overload_present{};
|
|
332
|
+
|
|
333
|
+
if (!is_overload_present.has_value())
|
|
334
|
+
{
|
|
335
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 2);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
if (!is_overload_present.value())
|
|
276
339
|
{
|
|
277
340
|
py::set_arg_count_version_error(2);
|
|
278
341
|
return nullptr;
|
|
@@ -293,7 +356,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
293
356
|
{
|
|
294
357
|
try
|
|
295
358
|
{
|
|
296
|
-
|
|
359
|
+
static std::optional<bool> is_overload_present{};
|
|
360
|
+
|
|
361
|
+
if (!is_overload_present.has_value())
|
|
362
|
+
{
|
|
363
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 3);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
if (!is_overload_present.value())
|
|
297
367
|
{
|
|
298
368
|
py::set_arg_count_version_error(3);
|
|
299
369
|
return nullptr;
|
|
@@ -413,7 +483,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_perception_spatial_preview(void) noexcept
|
|
|
413
483
|
return nullptr;
|
|
414
484
|
}
|
|
415
485
|
|
|
416
|
-
|
|
486
|
+
py::pytype_handle SpatialGraphInteropFrameOfReferencePreview_type{py::register_python_type(module.get(), &type_spec_SpatialGraphInteropFrameOfReferencePreview, object_bases.get(), nullptr)};
|
|
487
|
+
if (!SpatialGraphInteropFrameOfReferencePreview_type)
|
|
417
488
|
{
|
|
418
489
|
return nullptr;
|
|
419
490
|
}
|
|
@@ -424,7 +495,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_perception_spatial_preview(void) noexcept
|
|
|
424
495
|
return nullptr;
|
|
425
496
|
}
|
|
426
497
|
|
|
427
|
-
|
|
498
|
+
py::pytype_handle SpatialGraphInteropPreview_type{py::register_python_type(module.get(), &type_spec_SpatialGraphInteropPreview, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SpatialGraphInteropPreview_Static.get()))};
|
|
499
|
+
if (!SpatialGraphInteropPreview_type)
|
|
428
500
|
{
|
|
429
501
|
return nullptr;
|
|
430
502
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Perception.Spatial.Preview
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|