winrt-Windows.UI.Composition.Effects 2.1.0__tar.gz → 2.3.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_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/PKG-INFO +4 -4
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/all-requirements.txt +2 -2
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/py.Windows.UI.Composition.Effects.cpp +116 -17
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/pyproject.toml +3 -2
- winrt_windows_ui_composition_effects-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/requirements.txt +2 -2
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/winrt/_winrt_windows_ui_composition_effects.pyi +1 -1
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/winrt/windows/ui/composition/effects/__init__.py +1 -1
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/winrt_Windows.UI.Composition.Effects.egg-info/PKG-INFO +4 -4
- winrt_windows_ui_composition_effects-2.3.0/winrt_Windows.UI.Composition.Effects.egg-info/requires.txt +4 -0
- winrt_windows_ui_composition_effects-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_composition_effects-2.1.0/winrt_Windows.UI.Composition.Effects.egg-info/requires.txt +0 -4
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/README.md +0 -0
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/setup.cfg +0 -0
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/setup.py +0 -0
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/winrt/windows/ui/composition/effects/py.typed +0 -0
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/winrt_Windows.UI.Composition.Effects.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/winrt_Windows.UI.Composition.Effects.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/winrt_Windows.UI.Composition.Effects.egg-info/top_level.txt +0 -0
{winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Composition.Effects
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,11 +10,11 @@ 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.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Graphics.Effects[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Graphics.Effects[all]==2.3.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -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.3.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.Graphics.Effects[all]==2.
|
|
3
|
+
winrt-Windows.Graphics.Effects[all]==2.3.0
|
|
@@ -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.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Composition.Effects.h"
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
19
19
|
{
|
|
20
20
|
try
|
|
21
21
|
{
|
|
22
|
-
winrt::Windows::UI::Composition::Effects::SceneLightingEffect instance{
|
|
22
|
+
winrt::Windows::UI::Composition::Effects::SceneLightingEffect instance{};
|
|
23
23
|
return py::wrap(instance, type);
|
|
24
24
|
}
|
|
25
25
|
catch (...)
|
|
@@ -47,7 +47,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
47
47
|
{
|
|
48
48
|
try
|
|
49
49
|
{
|
|
50
|
-
|
|
50
|
+
static std::optional<bool> is_property_present{};
|
|
51
|
+
|
|
52
|
+
if (!is_property_present.has_value())
|
|
53
|
+
{
|
|
54
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"Name");
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (!is_property_present.value())
|
|
51
58
|
{
|
|
52
59
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
53
60
|
return nullptr;
|
|
@@ -72,7 +79,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
72
79
|
|
|
73
80
|
try
|
|
74
81
|
{
|
|
75
|
-
|
|
82
|
+
static std::optional<bool> is_property_present{};
|
|
83
|
+
|
|
84
|
+
if (!is_property_present.has_value())
|
|
85
|
+
{
|
|
86
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"Name");
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (!is_property_present.value())
|
|
76
90
|
{
|
|
77
91
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
78
92
|
return -1;
|
|
@@ -94,7 +108,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
94
108
|
{
|
|
95
109
|
try
|
|
96
110
|
{
|
|
97
|
-
|
|
111
|
+
static std::optional<bool> is_property_present{};
|
|
112
|
+
|
|
113
|
+
if (!is_property_present.has_value())
|
|
114
|
+
{
|
|
115
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"SpecularShine");
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
if (!is_property_present.value())
|
|
98
119
|
{
|
|
99
120
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
100
121
|
return nullptr;
|
|
@@ -119,7 +140,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
119
140
|
|
|
120
141
|
try
|
|
121
142
|
{
|
|
122
|
-
|
|
143
|
+
static std::optional<bool> is_property_present{};
|
|
144
|
+
|
|
145
|
+
if (!is_property_present.has_value())
|
|
146
|
+
{
|
|
147
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"SpecularShine");
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
if (!is_property_present.value())
|
|
123
151
|
{
|
|
124
152
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
125
153
|
return -1;
|
|
@@ -141,7 +169,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
141
169
|
{
|
|
142
170
|
try
|
|
143
171
|
{
|
|
144
|
-
|
|
172
|
+
static std::optional<bool> is_property_present{};
|
|
173
|
+
|
|
174
|
+
if (!is_property_present.has_value())
|
|
175
|
+
{
|
|
176
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"SpecularAmount");
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
if (!is_property_present.value())
|
|
145
180
|
{
|
|
146
181
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
147
182
|
return nullptr;
|
|
@@ -166,7 +201,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
166
201
|
|
|
167
202
|
try
|
|
168
203
|
{
|
|
169
|
-
|
|
204
|
+
static std::optional<bool> is_property_present{};
|
|
205
|
+
|
|
206
|
+
if (!is_property_present.has_value())
|
|
207
|
+
{
|
|
208
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"SpecularAmount");
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
if (!is_property_present.value())
|
|
170
212
|
{
|
|
171
213
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
172
214
|
return -1;
|
|
@@ -188,7 +230,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
188
230
|
{
|
|
189
231
|
try
|
|
190
232
|
{
|
|
191
|
-
|
|
233
|
+
static std::optional<bool> is_property_present{};
|
|
234
|
+
|
|
235
|
+
if (!is_property_present.has_value())
|
|
236
|
+
{
|
|
237
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"NormalMapSource");
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (!is_property_present.value())
|
|
192
241
|
{
|
|
193
242
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
194
243
|
return nullptr;
|
|
@@ -213,7 +262,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
213
262
|
|
|
214
263
|
try
|
|
215
264
|
{
|
|
216
|
-
|
|
265
|
+
static std::optional<bool> is_property_present{};
|
|
266
|
+
|
|
267
|
+
if (!is_property_present.has_value())
|
|
268
|
+
{
|
|
269
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"NormalMapSource");
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
if (!is_property_present.value())
|
|
217
273
|
{
|
|
218
274
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
219
275
|
return -1;
|
|
@@ -235,7 +291,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
235
291
|
{
|
|
236
292
|
try
|
|
237
293
|
{
|
|
238
|
-
|
|
294
|
+
static std::optional<bool> is_property_present{};
|
|
295
|
+
|
|
296
|
+
if (!is_property_present.has_value())
|
|
297
|
+
{
|
|
298
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"DiffuseAmount");
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
if (!is_property_present.value())
|
|
239
302
|
{
|
|
240
303
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
241
304
|
return nullptr;
|
|
@@ -260,7 +323,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
260
323
|
|
|
261
324
|
try
|
|
262
325
|
{
|
|
263
|
-
|
|
326
|
+
static std::optional<bool> is_property_present{};
|
|
327
|
+
|
|
328
|
+
if (!is_property_present.has_value())
|
|
329
|
+
{
|
|
330
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"DiffuseAmount");
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
if (!is_property_present.value())
|
|
264
334
|
{
|
|
265
335
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
266
336
|
return -1;
|
|
@@ -282,7 +352,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
282
352
|
{
|
|
283
353
|
try
|
|
284
354
|
{
|
|
285
|
-
|
|
355
|
+
static std::optional<bool> is_property_present{};
|
|
356
|
+
|
|
357
|
+
if (!is_property_present.has_value())
|
|
358
|
+
{
|
|
359
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"AmbientAmount");
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
if (!is_property_present.value())
|
|
286
363
|
{
|
|
287
364
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
288
365
|
return nullptr;
|
|
@@ -307,7 +384,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
307
384
|
|
|
308
385
|
try
|
|
309
386
|
{
|
|
310
|
-
|
|
387
|
+
static std::optional<bool> is_property_present{};
|
|
388
|
+
|
|
389
|
+
if (!is_property_present.has_value())
|
|
390
|
+
{
|
|
391
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"AmbientAmount");
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
if (!is_property_present.value())
|
|
311
395
|
{
|
|
312
396
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
313
397
|
return -1;
|
|
@@ -329,7 +413,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
329
413
|
{
|
|
330
414
|
try
|
|
331
415
|
{
|
|
332
|
-
|
|
416
|
+
static std::optional<bool> is_property_present{};
|
|
417
|
+
|
|
418
|
+
if (!is_property_present.has_value())
|
|
419
|
+
{
|
|
420
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"ReflectanceModel");
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
if (!is_property_present.value())
|
|
333
424
|
{
|
|
334
425
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
335
426
|
return nullptr;
|
|
@@ -354,7 +445,14 @@ namespace py::cpp::Windows::UI::Composition::Effects
|
|
|
354
445
|
|
|
355
446
|
try
|
|
356
447
|
{
|
|
357
|
-
|
|
448
|
+
static std::optional<bool> is_property_present{};
|
|
449
|
+
|
|
450
|
+
if (!is_property_present.has_value())
|
|
451
|
+
{
|
|
452
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Composition.Effects.SceneLightingEffect", L"ReflectanceModel");
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
if (!is_property_present.value())
|
|
358
456
|
{
|
|
359
457
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
360
458
|
return -1;
|
|
@@ -473,7 +571,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_composition_effects(void) noexcept
|
|
|
473
571
|
return nullptr;
|
|
474
572
|
}
|
|
475
573
|
|
|
476
|
-
|
|
574
|
+
py::pytype_handle SceneLightingEffect_type{py::register_python_type(module.get(), &type_spec_SceneLightingEffect, object_bases.get(), nullptr)};
|
|
575
|
+
if (!SceneLightingEffect_type)
|
|
477
576
|
{
|
|
478
577
|
return nullptr;
|
|
479
578
|
}
|
|
@@ -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.3.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.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Composition.Effects
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,11 +10,11 @@ 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.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Graphics.Effects[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Graphics.Effects[all]==2.3.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
{winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/setup.cfg
RENAMED
|
File without changes
|
{winrt_windows_ui_composition_effects-2.1.0 → winrt_windows_ui_composition_effects-2.3.0}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|