winrt-Windows.Media.Transcoding 2.0.1__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.
Files changed (20) hide show
  1. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/PKG-INFO +9 -9
  2. winrt_windows_media_transcoding-2.2.0/all-requirements.txt +8 -0
  3. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/py.Windows.Media.Transcoding.cpp +298 -157
  4. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_media_transcoding-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/requirements.txt +2 -2
  7. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/winrt/_winrt_windows_media_transcoding.pyi +14 -14
  8. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/winrt/windows/media/transcoding/__init__.py +1 -1
  9. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/winrt_Windows.Media.Transcoding.egg-info/PKG-INFO +9 -9
  10. winrt_windows_media_transcoding-2.2.0/winrt_Windows.Media.Transcoding.egg-info/requires.txt +9 -0
  11. winrt_windows_media_transcoding-2.0.1/all-requirements.txt +0 -8
  12. winrt_windows_media_transcoding-2.0.1/pywinrt-version.txt +0 -1
  13. winrt_windows_media_transcoding-2.0.1/winrt_Windows.Media.Transcoding.egg-info/requires.txt +0 -9
  14. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/README.md +0 -0
  15. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/setup.cfg +0 -0
  16. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/setup.py +0 -0
  17. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/winrt/windows/media/transcoding/py.typed +0 -0
  18. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/winrt_Windows.Media.Transcoding.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/winrt_Windows.Media.Transcoding.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_media_transcoding-2.0.1 → winrt_windows_media_transcoding-2.2.0}/winrt_Windows.Media.Transcoding.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.Transcoding
3
- Version: 2.0.1
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,16 +10,16 @@ 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,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.Media.Core[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.0.1; extra == "all"
21
- Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
22
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.Core[all]==2.2.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.2.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[all]==2.2.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,8 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ winrt-Windows.Foundation[all]==2.2.0
4
+ winrt-Windows.Foundation.Collections[all]==2.2.0
5
+ winrt-Windows.Media.Core[all]==2.2.0
6
+ winrt-Windows.Media.MediaProperties[all]==2.2.0
7
+ winrt-Windows.Storage[all]==2.2.0
8
+ winrt-Windows.Storage.Streams[all]==2.2.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  #include "py.Windows.Media.Transcoding.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::Media::Transcoding
7
6
  {
8
7
  // ----- MediaTranscoder class --------------------
@@ -20,7 +19,7 @@ namespace py::cpp::Windows::Media::Transcoding
20
19
  {
21
20
  try
22
21
  {
23
- winrt::Windows::Media::Transcoding::MediaTranscoder instance{ };
22
+ winrt::Windows::Media::Transcoding::MediaTranscoder instance{};
24
23
  return py::wrap(instance, type);
25
24
  }
26
25
  catch (...)
@@ -50,14 +49,21 @@ namespace py::cpp::Windows::Media::Transcoding
50
49
 
51
50
  if (arg_count == 1)
52
51
  {
53
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddAudioEffect", 1))
54
- {
55
- py::set_arg_count_version_error(1);
56
- return nullptr;
57
- }
58
-
59
52
  try
60
53
  {
54
+ static std::optional<bool> is_overload_present{};
55
+
56
+ if (!is_overload_present.has_value())
57
+ {
58
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddAudioEffect", 1);
59
+ }
60
+
61
+ if (!is_overload_present.value())
62
+ {
63
+ py::set_arg_count_version_error(1);
64
+ return nullptr;
65
+ }
66
+
61
67
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
62
68
 
63
69
  self->obj.AddAudioEffect(param0);
@@ -71,14 +77,21 @@ namespace py::cpp::Windows::Media::Transcoding
71
77
  }
72
78
  else if (arg_count == 3)
73
79
  {
74
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddAudioEffect", 3))
75
- {
76
- py::set_arg_count_version_error(3);
77
- return nullptr;
78
- }
79
-
80
80
  try
81
81
  {
82
+ static std::optional<bool> is_overload_present{};
83
+
84
+ if (!is_overload_present.has_value())
85
+ {
86
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddAudioEffect", 3);
87
+ }
88
+
89
+ if (!is_overload_present.value())
90
+ {
91
+ py::set_arg_count_version_error(3);
92
+ return nullptr;
93
+ }
94
+
82
95
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
83
96
  auto param1 = py::convert_to<bool>(args, 1);
84
97
  auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::IPropertySet>(args, 2);
@@ -105,14 +118,21 @@ namespace py::cpp::Windows::Media::Transcoding
105
118
 
106
119
  if (arg_count == 1)
107
120
  {
108
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddVideoEffect", 1))
109
- {
110
- py::set_arg_count_version_error(1);
111
- return nullptr;
112
- }
113
-
114
121
  try
115
122
  {
123
+ static std::optional<bool> is_overload_present{};
124
+
125
+ if (!is_overload_present.has_value())
126
+ {
127
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddVideoEffect", 1);
128
+ }
129
+
130
+ if (!is_overload_present.value())
131
+ {
132
+ py::set_arg_count_version_error(1);
133
+ return nullptr;
134
+ }
135
+
116
136
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
117
137
 
118
138
  self->obj.AddVideoEffect(param0);
@@ -126,14 +146,21 @@ namespace py::cpp::Windows::Media::Transcoding
126
146
  }
127
147
  else if (arg_count == 3)
128
148
  {
129
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddVideoEffect", 3))
130
- {
131
- py::set_arg_count_version_error(3);
132
- return nullptr;
133
- }
134
-
135
149
  try
136
150
  {
151
+ static std::optional<bool> is_overload_present{};
152
+
153
+ if (!is_overload_present.has_value())
154
+ {
155
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AddVideoEffect", 3);
156
+ }
157
+
158
+ if (!is_overload_present.value())
159
+ {
160
+ py::set_arg_count_version_error(3);
161
+ return nullptr;
162
+ }
163
+
137
164
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
138
165
  auto param1 = py::convert_to<bool>(args, 1);
139
166
  auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::IPropertySet>(args, 2);
@@ -160,14 +187,21 @@ namespace py::cpp::Windows::Media::Transcoding
160
187
 
161
188
  if (arg_count == 0)
162
189
  {
163
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"ClearEffects", 0))
164
- {
165
- py::set_arg_count_version_error(0);
166
- return nullptr;
167
- }
168
-
169
190
  try
170
191
  {
192
+ static std::optional<bool> is_overload_present{};
193
+
194
+ if (!is_overload_present.has_value())
195
+ {
196
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"ClearEffects", 0);
197
+ }
198
+
199
+ if (!is_overload_present.value())
200
+ {
201
+ py::set_arg_count_version_error(0);
202
+ return nullptr;
203
+ }
204
+
171
205
  self->obj.ClearEffects();
172
206
  Py_RETURN_NONE;
173
207
  }
@@ -190,14 +224,21 @@ namespace py::cpp::Windows::Media::Transcoding
190
224
 
191
225
  if (arg_count == 3)
192
226
  {
193
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"PrepareFileTranscodeAsync", 3))
194
- {
195
- py::set_arg_count_version_error(3);
196
- return nullptr;
197
- }
198
-
199
227
  try
200
228
  {
229
+ static std::optional<bool> is_overload_present{};
230
+
231
+ if (!is_overload_present.has_value())
232
+ {
233
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"PrepareFileTranscodeAsync", 3);
234
+ }
235
+
236
+ if (!is_overload_present.value())
237
+ {
238
+ py::set_arg_count_version_error(3);
239
+ return nullptr;
240
+ }
241
+
201
242
  auto param0 = py::convert_to<winrt::Windows::Storage::IStorageFile>(args, 0);
202
243
  auto param1 = py::convert_to<winrt::Windows::Storage::IStorageFile>(args, 1);
203
244
  auto param2 = py::convert_to<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>(args, 2);
@@ -223,14 +264,21 @@ namespace py::cpp::Windows::Media::Transcoding
223
264
 
224
265
  if (arg_count == 3)
225
266
  {
226
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"PrepareMediaStreamSourceTranscodeAsync", 3))
227
- {
228
- py::set_arg_count_version_error(3);
229
- return nullptr;
230
- }
231
-
232
267
  try
233
268
  {
269
+ static std::optional<bool> is_overload_present{};
270
+
271
+ if (!is_overload_present.has_value())
272
+ {
273
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"PrepareMediaStreamSourceTranscodeAsync", 3);
274
+ }
275
+
276
+ if (!is_overload_present.value())
277
+ {
278
+ py::set_arg_count_version_error(3);
279
+ return nullptr;
280
+ }
281
+
234
282
  auto param0 = py::convert_to<winrt::Windows::Media::Core::IMediaSource>(args, 0);
235
283
  auto param1 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStream>(args, 1);
236
284
  auto param2 = py::convert_to<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>(args, 2);
@@ -256,14 +304,21 @@ namespace py::cpp::Windows::Media::Transcoding
256
304
 
257
305
  if (arg_count == 3)
258
306
  {
259
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"PrepareStreamTranscodeAsync", 3))
260
- {
261
- py::set_arg_count_version_error(3);
262
- return nullptr;
263
- }
264
-
265
307
  try
266
308
  {
309
+ static std::optional<bool> is_overload_present{};
310
+
311
+ if (!is_overload_present.has_value())
312
+ {
313
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"PrepareStreamTranscodeAsync", 3);
314
+ }
315
+
316
+ if (!is_overload_present.value())
317
+ {
318
+ py::set_arg_count_version_error(3);
319
+ return nullptr;
320
+ }
321
+
267
322
  auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStream>(args, 0);
268
323
  auto param1 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStream>(args, 1);
269
324
  auto param2 = py::convert_to<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>(args, 2);
@@ -285,14 +340,21 @@ namespace py::cpp::Windows::Media::Transcoding
285
340
 
286
341
  static PyObject* MediaTranscoder_get_TrimStopTime(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, void* /*unused*/) noexcept
287
342
  {
288
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStopTime"))
289
- {
290
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
291
- return nullptr;
292
- }
293
-
294
343
  try
295
344
  {
345
+ static std::optional<bool> is_property_present{};
346
+
347
+ if (!is_property_present.has_value())
348
+ {
349
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStopTime");
350
+ }
351
+
352
+ if (!is_property_present.value())
353
+ {
354
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
355
+ return nullptr;
356
+ }
357
+
296
358
  return py::convert(self->obj.TrimStopTime());
297
359
  }
298
360
  catch (...)
@@ -304,12 +366,6 @@ namespace py::cpp::Windows::Media::Transcoding
304
366
 
305
367
  static int MediaTranscoder_put_TrimStopTime(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
306
368
  {
307
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStopTime"))
308
- {
309
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
310
- return -1;
311
- }
312
-
313
369
  if (arg == nullptr)
314
370
  {
315
371
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -318,6 +374,19 @@ namespace py::cpp::Windows::Media::Transcoding
318
374
 
319
375
  try
320
376
  {
377
+ static std::optional<bool> is_property_present{};
378
+
379
+ if (!is_property_present.has_value())
380
+ {
381
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStopTime");
382
+ }
383
+
384
+ if (!is_property_present.value())
385
+ {
386
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
387
+ return -1;
388
+ }
389
+
321
390
  auto param0 = py::convert_to<winrt::Windows::Foundation::TimeSpan>(arg);
322
391
 
323
392
  self->obj.TrimStopTime(param0);
@@ -332,14 +401,21 @@ namespace py::cpp::Windows::Media::Transcoding
332
401
 
333
402
  static PyObject* MediaTranscoder_get_TrimStartTime(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, void* /*unused*/) noexcept
334
403
  {
335
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStartTime"))
336
- {
337
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
338
- return nullptr;
339
- }
340
-
341
404
  try
342
405
  {
406
+ static std::optional<bool> is_property_present{};
407
+
408
+ if (!is_property_present.has_value())
409
+ {
410
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStartTime");
411
+ }
412
+
413
+ if (!is_property_present.value())
414
+ {
415
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
416
+ return nullptr;
417
+ }
418
+
343
419
  return py::convert(self->obj.TrimStartTime());
344
420
  }
345
421
  catch (...)
@@ -351,12 +427,6 @@ namespace py::cpp::Windows::Media::Transcoding
351
427
 
352
428
  static int MediaTranscoder_put_TrimStartTime(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
353
429
  {
354
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStartTime"))
355
- {
356
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
357
- return -1;
358
- }
359
-
360
430
  if (arg == nullptr)
361
431
  {
362
432
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -365,6 +435,19 @@ namespace py::cpp::Windows::Media::Transcoding
365
435
 
366
436
  try
367
437
  {
438
+ static std::optional<bool> is_property_present{};
439
+
440
+ if (!is_property_present.has_value())
441
+ {
442
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"TrimStartTime");
443
+ }
444
+
445
+ if (!is_property_present.value())
446
+ {
447
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
448
+ return -1;
449
+ }
450
+
368
451
  auto param0 = py::convert_to<winrt::Windows::Foundation::TimeSpan>(arg);
369
452
 
370
453
  self->obj.TrimStartTime(param0);
@@ -379,14 +462,21 @@ namespace py::cpp::Windows::Media::Transcoding
379
462
 
380
463
  static PyObject* MediaTranscoder_get_HardwareAccelerationEnabled(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, void* /*unused*/) noexcept
381
464
  {
382
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"HardwareAccelerationEnabled"))
383
- {
384
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
385
- return nullptr;
386
- }
387
-
388
465
  try
389
466
  {
467
+ static std::optional<bool> is_property_present{};
468
+
469
+ if (!is_property_present.has_value())
470
+ {
471
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"HardwareAccelerationEnabled");
472
+ }
473
+
474
+ if (!is_property_present.value())
475
+ {
476
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
477
+ return nullptr;
478
+ }
479
+
390
480
  return py::convert(self->obj.HardwareAccelerationEnabled());
391
481
  }
392
482
  catch (...)
@@ -398,12 +488,6 @@ namespace py::cpp::Windows::Media::Transcoding
398
488
 
399
489
  static int MediaTranscoder_put_HardwareAccelerationEnabled(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
400
490
  {
401
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"HardwareAccelerationEnabled"))
402
- {
403
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
404
- return -1;
405
- }
406
-
407
491
  if (arg == nullptr)
408
492
  {
409
493
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -412,6 +496,19 @@ namespace py::cpp::Windows::Media::Transcoding
412
496
 
413
497
  try
414
498
  {
499
+ static std::optional<bool> is_property_present{};
500
+
501
+ if (!is_property_present.has_value())
502
+ {
503
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"HardwareAccelerationEnabled");
504
+ }
505
+
506
+ if (!is_property_present.value())
507
+ {
508
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
509
+ return -1;
510
+ }
511
+
415
512
  auto param0 = py::convert_to<bool>(arg);
416
513
 
417
514
  self->obj.HardwareAccelerationEnabled(param0);
@@ -426,14 +523,21 @@ namespace py::cpp::Windows::Media::Transcoding
426
523
 
427
524
  static PyObject* MediaTranscoder_get_AlwaysReencode(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, void* /*unused*/) noexcept
428
525
  {
429
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AlwaysReencode"))
430
- {
431
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
432
- return nullptr;
433
- }
434
-
435
526
  try
436
527
  {
528
+ static std::optional<bool> is_property_present{};
529
+
530
+ if (!is_property_present.has_value())
531
+ {
532
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AlwaysReencode");
533
+ }
534
+
535
+ if (!is_property_present.value())
536
+ {
537
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
538
+ return nullptr;
539
+ }
540
+
437
541
  return py::convert(self->obj.AlwaysReencode());
438
542
  }
439
543
  catch (...)
@@ -445,12 +549,6 @@ namespace py::cpp::Windows::Media::Transcoding
445
549
 
446
550
  static int MediaTranscoder_put_AlwaysReencode(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
447
551
  {
448
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AlwaysReencode"))
449
- {
450
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
451
- return -1;
452
- }
453
-
454
552
  if (arg == nullptr)
455
553
  {
456
554
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -459,6 +557,19 @@ namespace py::cpp::Windows::Media::Transcoding
459
557
 
460
558
  try
461
559
  {
560
+ static std::optional<bool> is_property_present{};
561
+
562
+ if (!is_property_present.has_value())
563
+ {
564
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"AlwaysReencode");
565
+ }
566
+
567
+ if (!is_property_present.value())
568
+ {
569
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
570
+ return -1;
571
+ }
572
+
462
573
  auto param0 = py::convert_to<bool>(arg);
463
574
 
464
575
  self->obj.AlwaysReencode(param0);
@@ -473,14 +584,21 @@ namespace py::cpp::Windows::Media::Transcoding
473
584
 
474
585
  static PyObject* MediaTranscoder_get_VideoProcessingAlgorithm(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, void* /*unused*/) noexcept
475
586
  {
476
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"VideoProcessingAlgorithm"))
477
- {
478
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
479
- return nullptr;
480
- }
481
-
482
587
  try
483
588
  {
589
+ static std::optional<bool> is_property_present{};
590
+
591
+ if (!is_property_present.has_value())
592
+ {
593
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"VideoProcessingAlgorithm");
594
+ }
595
+
596
+ if (!is_property_present.value())
597
+ {
598
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
599
+ return nullptr;
600
+ }
601
+
484
602
  return py::convert(self->obj.VideoProcessingAlgorithm());
485
603
  }
486
604
  catch (...)
@@ -492,12 +610,6 @@ namespace py::cpp::Windows::Media::Transcoding
492
610
 
493
611
  static int MediaTranscoder_put_VideoProcessingAlgorithm(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
494
612
  {
495
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"VideoProcessingAlgorithm"))
496
- {
497
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
498
- return -1;
499
- }
500
-
501
613
  if (arg == nullptr)
502
614
  {
503
615
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -506,6 +618,19 @@ namespace py::cpp::Windows::Media::Transcoding
506
618
 
507
619
  try
508
620
  {
621
+ static std::optional<bool> is_property_present{};
622
+
623
+ if (!is_property_present.has_value())
624
+ {
625
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.MediaTranscoder", L"VideoProcessingAlgorithm");
626
+ }
627
+
628
+ if (!is_property_present.value())
629
+ {
630
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
631
+ return -1;
632
+ }
633
+
509
634
  auto param0 = py::convert_to<winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm>(arg);
510
635
 
511
636
  self->obj.VideoProcessingAlgorithm(param0);
@@ -563,23 +688,20 @@ namespace py::cpp::Windows::Media::Transcoding
563
688
  { }
564
689
  };
565
690
 
566
- static PyType_Slot _type_slots_MediaTranscoder[] =
567
- {
691
+ static PyType_Slot _type_slots_MediaTranscoder[] = {
568
692
  { Py_tp_new, reinterpret_cast<void*>(_new_MediaTranscoder) },
569
693
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_MediaTranscoder) },
570
694
  { Py_tp_methods, reinterpret_cast<void*>(_methods_MediaTranscoder) },
571
695
  { Py_tp_getset, reinterpret_cast<void*>(_getset_MediaTranscoder) },
572
- { },
696
+ { }
573
697
  };
574
698
 
575
- static PyType_Spec type_spec_MediaTranscoder =
576
- {
699
+ static PyType_Spec type_spec_MediaTranscoder = {
577
700
  "winrt._winrt_windows_media_transcoding.MediaTranscoder",
578
701
  sizeof(py::wrapper::Windows::Media::Transcoding::MediaTranscoder),
579
702
  0,
580
703
  Py_TPFLAGS_DEFAULT,
581
- _type_slots_MediaTranscoder
582
- };
704
+ _type_slots_MediaTranscoder};
583
705
 
584
706
  // ----- PrepareTranscodeResult class --------------------
585
707
 
@@ -604,14 +726,21 @@ namespace py::cpp::Windows::Media::Transcoding
604
726
 
605
727
  if (arg_count == 0)
606
728
  {
607
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.PrepareTranscodeResult", L"TranscodeAsync", 0))
608
- {
609
- py::set_arg_count_version_error(0);
610
- return nullptr;
611
- }
612
-
613
729
  try
614
730
  {
731
+ static std::optional<bool> is_overload_present{};
732
+
733
+ if (!is_overload_present.has_value())
734
+ {
735
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Transcoding.PrepareTranscodeResult", L"TranscodeAsync", 0);
736
+ }
737
+
738
+ if (!is_overload_present.value())
739
+ {
740
+ py::set_arg_count_version_error(0);
741
+ return nullptr;
742
+ }
743
+
615
744
  return py::convert(self->obj.TranscodeAsync());
616
745
  }
617
746
  catch (...)
@@ -629,14 +758,21 @@ namespace py::cpp::Windows::Media::Transcoding
629
758
 
630
759
  static PyObject* PrepareTranscodeResult_get_CanTranscode(py::wrapper::Windows::Media::Transcoding::PrepareTranscodeResult* self, void* /*unused*/) noexcept
631
760
  {
632
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.PrepareTranscodeResult", L"CanTranscode"))
633
- {
634
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
635
- return nullptr;
636
- }
637
-
638
761
  try
639
762
  {
763
+ static std::optional<bool> is_property_present{};
764
+
765
+ if (!is_property_present.has_value())
766
+ {
767
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.PrepareTranscodeResult", L"CanTranscode");
768
+ }
769
+
770
+ if (!is_property_present.value())
771
+ {
772
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
773
+ return nullptr;
774
+ }
775
+
640
776
  return py::convert(self->obj.CanTranscode());
641
777
  }
642
778
  catch (...)
@@ -648,14 +784,21 @@ namespace py::cpp::Windows::Media::Transcoding
648
784
 
649
785
  static PyObject* PrepareTranscodeResult_get_FailureReason(py::wrapper::Windows::Media::Transcoding::PrepareTranscodeResult* self, void* /*unused*/) noexcept
650
786
  {
651
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.PrepareTranscodeResult", L"FailureReason"))
652
- {
653
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
654
- return nullptr;
655
- }
656
-
657
787
  try
658
788
  {
789
+ static std::optional<bool> is_property_present{};
790
+
791
+ if (!is_property_present.has_value())
792
+ {
793
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Transcoding.PrepareTranscodeResult", L"FailureReason");
794
+ }
795
+
796
+ if (!is_property_present.value())
797
+ {
798
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
799
+ return nullptr;
800
+ }
801
+
659
802
  return py::convert(self->obj.FailureReason());
660
803
  }
661
804
  catch (...)
@@ -702,39 +845,35 @@ namespace py::cpp::Windows::Media::Transcoding
702
845
  { }
703
846
  };
704
847
 
705
- static PyType_Slot _type_slots_PrepareTranscodeResult[] =
706
- {
848
+ static PyType_Slot _type_slots_PrepareTranscodeResult[] = {
707
849
  { Py_tp_new, reinterpret_cast<void*>(_new_PrepareTranscodeResult) },
708
850
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PrepareTranscodeResult) },
709
851
  { Py_tp_methods, reinterpret_cast<void*>(_methods_PrepareTranscodeResult) },
710
852
  { Py_tp_getset, reinterpret_cast<void*>(_getset_PrepareTranscodeResult) },
711
- { },
853
+ { }
712
854
  };
713
855
 
714
- static PyType_Spec type_spec_PrepareTranscodeResult =
715
- {
856
+ static PyType_Spec type_spec_PrepareTranscodeResult = {
716
857
  "winrt._winrt_windows_media_transcoding.PrepareTranscodeResult",
717
858
  sizeof(py::wrapper::Windows::Media::Transcoding::PrepareTranscodeResult),
718
859
  0,
719
860
  Py_TPFLAGS_DEFAULT,
720
- _type_slots_PrepareTranscodeResult
721
- };
861
+ _type_slots_PrepareTranscodeResult};
722
862
 
723
863
  // ----- Windows.Media.Transcoding Initialization --------------------
724
- PyDoc_STRVAR(module_doc, "Windows::Media::Transcoding");
725
-
726
864
 
727
- static PyModuleDef module_def
728
- = {PyModuleDef_HEAD_INIT,
729
- "_winrt_windows_media_transcoding",
730
- module_doc,
731
- 0,
732
- nullptr,
733
- nullptr,
734
- nullptr,
735
- nullptr,
736
- nullptr};
865
+ PyDoc_STRVAR(module_doc, "Windows.Media.Transcoding");
737
866
 
867
+ static PyModuleDef module_def = {
868
+ PyModuleDef_HEAD_INIT,
869
+ "_winrt_windows_media_transcoding",
870
+ module_doc,
871
+ 0,
872
+ nullptr,
873
+ nullptr,
874
+ nullptr,
875
+ nullptr,
876
+ nullptr};
738
877
  } // py::cpp::Windows::Media::Transcoding
739
878
 
740
879
  PyMODINIT_FUNC PyInit__winrt_windows_media_transcoding(void) noexcept
@@ -766,12 +905,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_transcoding(void) noexcept
766
905
  return nullptr;
767
906
  }
768
907
 
769
- if (py::register_python_type(module.get(), &type_spec_MediaTranscoder, object_bases.get(), nullptr) == -1)
908
+ py::pytype_handle MediaTranscoder_type{py::register_python_type(module.get(), &type_spec_MediaTranscoder, object_bases.get(), nullptr)};
909
+ if (!MediaTranscoder_type)
770
910
  {
771
911
  return nullptr;
772
912
  }
773
913
 
774
- if (py::register_python_type(module.get(), &type_spec_PrepareTranscodeResult, object_bases.get(), nullptr) == -1)
914
+ py::pytype_handle PrepareTranscodeResult_type{py::register_python_type(module.get(), &type_spec_PrepareTranscodeResult, object_bases.get(), nullptr)};
915
+ if (!PrepareTranscodeResult_type)
775
916
  {
776
917
  return nullptr;
777
918
  }
@@ -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.13"
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
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.2.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -9,12 +9,12 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
- import winrt.windows.foundation
13
- import winrt.windows.foundation.collections
14
- import winrt.windows.media.core
15
- import winrt.windows.media.mediaproperties
16
- import winrt.windows.storage
17
- import winrt.windows.storage.streams
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.media.core as windows_media_core
15
+ import winrt.windows.media.mediaproperties as windows_media_mediaproperties
16
+ import winrt.windows.storage as windows_storage
17
+ import winrt.windows.storage.streams as windows_storage_streams
18
18
 
19
19
  from winrt.windows.media.transcoding import MediaVideoProcessingAlgorithm, TranscodeFailureReason
20
20
 
@@ -24,19 +24,19 @@ Self = typing.TypeVar('Self')
24
24
  class MediaTranscoder(winrt.system.Object):
25
25
  @staticmethod
26
26
  def _from(obj: winrt.system.Object, /) -> MediaTranscoder: ...
27
- def __new__(cls: typing.Type[MediaTranscoder]) -> MediaTranscoder:...
27
+ def __new__(cls: typing.Type[MediaTranscoder]) -> MediaTranscoder: ...
28
28
  @typing.overload
29
29
  def add_audio_effect(self, activatable_class_id: str, /) -> None: ...
30
30
  @typing.overload
31
- def add_audio_effect(self, activatable_class_id: str, effect_required: bool, configuration: typing.Optional[winrt.windows.foundation.collections.IPropertySet], /) -> None: ...
31
+ def add_audio_effect(self, activatable_class_id: str, effect_required: bool, configuration: typing.Optional[windows_foundation_collections.IPropertySet], /) -> None: ...
32
32
  @typing.overload
33
33
  def add_video_effect(self, activatable_class_id: str, /) -> None: ...
34
34
  @typing.overload
35
- def add_video_effect(self, activatable_class_id: str, effect_required: bool, configuration: typing.Optional[winrt.windows.foundation.collections.IPropertySet], /) -> None: ...
35
+ def add_video_effect(self, activatable_class_id: str, effect_required: bool, configuration: typing.Optional[windows_foundation_collections.IPropertySet], /) -> None: ...
36
36
  def clear_effects(self) -> None: ...
37
- def prepare_file_transcode_async(self, source: typing.Optional[winrt.windows.storage.IStorageFile], destination: typing.Optional[winrt.windows.storage.IStorageFile], profile: typing.Optional[winrt.windows.media.mediaproperties.MediaEncodingProfile], /) -> winrt.windows.foundation.IAsyncOperation[PrepareTranscodeResult]: ...
38
- def prepare_media_stream_source_transcode_async(self, source: typing.Optional[winrt.windows.media.core.IMediaSource], destination: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], profile: typing.Optional[winrt.windows.media.mediaproperties.MediaEncodingProfile], /) -> winrt.windows.foundation.IAsyncOperation[PrepareTranscodeResult]: ...
39
- def prepare_stream_transcode_async(self, source: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], destination: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], profile: typing.Optional[winrt.windows.media.mediaproperties.MediaEncodingProfile], /) -> winrt.windows.foundation.IAsyncOperation[PrepareTranscodeResult]: ...
37
+ def prepare_file_transcode_async(self, source: typing.Optional[windows_storage.IStorageFile], destination: typing.Optional[windows_storage.IStorageFile], profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
38
+ def prepare_media_stream_source_transcode_async(self, source: typing.Optional[windows_media_core.IMediaSource], destination: typing.Optional[windows_storage_streams.IRandomAccessStream], profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
39
+ def prepare_stream_transcode_async(self, source: typing.Optional[windows_storage_streams.IRandomAccessStream], destination: typing.Optional[windows_storage_streams.IRandomAccessStream], profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
40
40
  @_property
41
41
  def trim_stop_time(self) -> datetime.timedelta: ...
42
42
  @trim_stop_time.setter
@@ -62,7 +62,7 @@ class MediaTranscoder(winrt.system.Object):
62
62
  class PrepareTranscodeResult(winrt.system.Object):
63
63
  @staticmethod
64
64
  def _from(obj: winrt.system.Object, /) -> PrepareTranscodeResult: ...
65
- def transcode_async(self) -> winrt.windows.foundation.IAsyncActionWithProgress[winrt.system.Double]: ...
65
+ def transcode_async(self) -> windows_foundation.IAsyncActionWithProgress[winrt.system.Double]: ...
66
66
  @_property
67
67
  def can_transcode(self) -> bool: ...
68
68
  @_property
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.Transcoding
3
- Version: 2.0.1
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,16 +10,16 @@ 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,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.Media.Core[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.0.1; extra == "all"
21
- Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
22
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.Core[all]==2.2.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.2.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[all]==2.2.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,9 @@
1
+ winrt-runtime==2.2.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.2.0
5
+ winrt-Windows.Foundation.Collections[all]==2.2.0
6
+ winrt-Windows.Media.Core[all]==2.2.0
7
+ winrt-Windows.Media.MediaProperties[all]==2.2.0
8
+ winrt-Windows.Storage[all]==2.2.0
9
+ winrt-Windows.Storage.Streams[all]==2.2.0
@@ -1,8 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.1
5
- winrt-Windows.Media.Core[all]==2.0.1
6
- winrt-Windows.Media.MediaProperties[all]==2.0.1
7
- winrt-Windows.Storage[all]==2.0.1
8
- winrt-Windows.Storage.Streams[all]==2.0.1
@@ -1,9 +0,0 @@
1
- winrt-runtime==2.0.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.1
6
- winrt-Windows.Media.Core[all]==2.0.1
7
- winrt-Windows.Media.MediaProperties[all]==2.0.1
8
- winrt-Windows.Storage[all]==2.0.1
9
- winrt-Windows.Storage.Streams[all]==2.0.1