winrt-Windows.ApplicationModel.Store.LicenseManagement 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_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/PKG-INFO +6 -6
- winrt_windows_applicationmodel_store_licensemanagement-2.3.0/all-requirements.txt +5 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/py.Windows.ApplicationModel.Store.LicenseManagement.cpp +103 -16
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/pyproject.toml +3 -2
- winrt_windows_applicationmodel_store_licensemanagement-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/winrt/_winrt_windows_applicationmodel_store_licensemanagement.pyi +1 -1
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/winrt/windows/applicationmodel/store/licensemanagement/__init__.py +1 -1
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/winrt_Windows.ApplicationModel.Store.LicenseManagement.egg-info/PKG-INFO +6 -6
- winrt_windows_applicationmodel_store_licensemanagement-2.3.0/winrt_Windows.ApplicationModel.Store.LicenseManagement.egg-info/requires.txt +6 -0
- winrt_windows_applicationmodel_store_licensemanagement-2.1.0/all-requirements.txt +0 -5
- winrt_windows_applicationmodel_store_licensemanagement-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_store_licensemanagement-2.1.0/winrt_Windows.ApplicationModel.Store.LicenseManagement.egg-info/requires.txt +0 -6
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/README.md +0 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/winrt/windows/applicationmodel/store/licensemanagement/py.typed +0 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/winrt_Windows.ApplicationModel.Store.LicenseManagement.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/winrt_Windows.ApplicationModel.Store.LicenseManagement.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_store_licensemanagement-2.1.0 → winrt_windows_applicationmodel_store_licensemanagement-2.3.0}/winrt_Windows.ApplicationModel.Store.LicenseManagement.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Store.LicenseManagement
|
|
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,13 +10,13 @@ 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.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -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.ApplicationModel.Store.LicenseManagement.h"
|
|
4
4
|
|
|
@@ -21,7 +21,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
21
21
|
{
|
|
22
22
|
try
|
|
23
23
|
{
|
|
24
|
-
|
|
24
|
+
static std::optional<bool> is_overload_present{};
|
|
25
|
+
|
|
26
|
+
if (!is_overload_present.has_value())
|
|
27
|
+
{
|
|
28
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseManager", L"AddLicenseAsync", 1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (!is_overload_present.value())
|
|
25
32
|
{
|
|
26
33
|
py::set_arg_count_version_error(1);
|
|
27
34
|
return nullptr;
|
|
@@ -52,7 +59,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
52
59
|
{
|
|
53
60
|
try
|
|
54
61
|
{
|
|
55
|
-
|
|
62
|
+
static std::optional<bool> is_overload_present{};
|
|
63
|
+
|
|
64
|
+
if (!is_overload_present.has_value())
|
|
65
|
+
{
|
|
66
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseManager", L"GetSatisfactionInfosAsync", 2);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (!is_overload_present.value())
|
|
56
70
|
{
|
|
57
71
|
py::set_arg_count_version_error(2);
|
|
58
72
|
return nullptr;
|
|
@@ -84,7 +98,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
84
98
|
{
|
|
85
99
|
try
|
|
86
100
|
{
|
|
87
|
-
|
|
101
|
+
static std::optional<bool> is_overload_present{};
|
|
102
|
+
|
|
103
|
+
if (!is_overload_present.has_value())
|
|
104
|
+
{
|
|
105
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseManager", L"RefreshLicensesAsync", 1);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (!is_overload_present.value())
|
|
88
109
|
{
|
|
89
110
|
py::set_arg_count_version_error(1);
|
|
90
111
|
return nullptr;
|
|
@@ -178,7 +199,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
178
199
|
{
|
|
179
200
|
try
|
|
180
201
|
{
|
|
181
|
-
|
|
202
|
+
static std::optional<bool> is_property_present{};
|
|
203
|
+
|
|
204
|
+
if (!is_property_present.has_value())
|
|
205
|
+
{
|
|
206
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo", L"IsSatisfied");
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (!is_property_present.value())
|
|
182
210
|
{
|
|
183
211
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
184
212
|
return nullptr;
|
|
@@ -197,7 +225,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
197
225
|
{
|
|
198
226
|
try
|
|
199
227
|
{
|
|
200
|
-
|
|
228
|
+
static std::optional<bool> is_property_present{};
|
|
229
|
+
|
|
230
|
+
if (!is_property_present.has_value())
|
|
231
|
+
{
|
|
232
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo", L"SatisfiedByDevice");
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
if (!is_property_present.value())
|
|
201
236
|
{
|
|
202
237
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
203
238
|
return nullptr;
|
|
@@ -216,7 +251,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
216
251
|
{
|
|
217
252
|
try
|
|
218
253
|
{
|
|
219
|
-
|
|
254
|
+
static std::optional<bool> is_property_present{};
|
|
255
|
+
|
|
256
|
+
if (!is_property_present.has_value())
|
|
257
|
+
{
|
|
258
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo", L"SatisfiedByInstallMedia");
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
if (!is_property_present.value())
|
|
220
262
|
{
|
|
221
263
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
222
264
|
return nullptr;
|
|
@@ -235,7 +277,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
235
277
|
{
|
|
236
278
|
try
|
|
237
279
|
{
|
|
238
|
-
|
|
280
|
+
static std::optional<bool> is_property_present{};
|
|
281
|
+
|
|
282
|
+
if (!is_property_present.has_value())
|
|
283
|
+
{
|
|
284
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo", L"SatisfiedByOpenLicense");
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if (!is_property_present.value())
|
|
239
288
|
{
|
|
240
289
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
241
290
|
return nullptr;
|
|
@@ -254,7 +303,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
254
303
|
{
|
|
255
304
|
try
|
|
256
305
|
{
|
|
257
|
-
|
|
306
|
+
static std::optional<bool> is_property_present{};
|
|
307
|
+
|
|
308
|
+
if (!is_property_present.has_value())
|
|
309
|
+
{
|
|
310
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo", L"SatisfiedByPass");
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
if (!is_property_present.value())
|
|
258
314
|
{
|
|
259
315
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
260
316
|
return nullptr;
|
|
@@ -273,7 +329,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
273
329
|
{
|
|
274
330
|
try
|
|
275
331
|
{
|
|
276
|
-
|
|
332
|
+
static std::optional<bool> is_property_present{};
|
|
333
|
+
|
|
334
|
+
if (!is_property_present.has_value())
|
|
335
|
+
{
|
|
336
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo", L"SatisfiedBySignedInUser");
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (!is_property_present.value())
|
|
277
340
|
{
|
|
278
341
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
279
342
|
return nullptr;
|
|
@@ -292,7 +355,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
292
355
|
{
|
|
293
356
|
try
|
|
294
357
|
{
|
|
295
|
-
|
|
358
|
+
static std::optional<bool> is_property_present{};
|
|
359
|
+
|
|
360
|
+
if (!is_property_present.has_value())
|
|
361
|
+
{
|
|
362
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo", L"SatisfiedByTrial");
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
if (!is_property_present.value())
|
|
296
366
|
{
|
|
297
367
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
298
368
|
return nullptr;
|
|
@@ -384,7 +454,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
384
454
|
{
|
|
385
455
|
try
|
|
386
456
|
{
|
|
387
|
-
|
|
457
|
+
static std::optional<bool> is_property_present{};
|
|
458
|
+
|
|
459
|
+
if (!is_property_present.has_value())
|
|
460
|
+
{
|
|
461
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult", L"ExtendedError");
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
if (!is_property_present.value())
|
|
388
465
|
{
|
|
389
466
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
390
467
|
return nullptr;
|
|
@@ -403,7 +480,14 @@ namespace py::cpp::Windows::ApplicationModel::Store::LicenseManagement
|
|
|
403
480
|
{
|
|
404
481
|
try
|
|
405
482
|
{
|
|
406
|
-
|
|
483
|
+
static std::optional<bool> is_property_present{};
|
|
484
|
+
|
|
485
|
+
if (!is_property_present.has_value())
|
|
486
|
+
{
|
|
487
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult", L"LicenseSatisfactionInfos");
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
if (!is_property_present.value())
|
|
407
491
|
{
|
|
408
492
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
409
493
|
return nullptr;
|
|
@@ -520,17 +604,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_store_licensemanagement(vo
|
|
|
520
604
|
return nullptr;
|
|
521
605
|
}
|
|
522
606
|
|
|
523
|
-
|
|
607
|
+
py::pytype_handle LicenseManager_type{py::register_python_type(module.get(), &type_spec_LicenseManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_LicenseManager_Static.get()))};
|
|
608
|
+
if (!LicenseManager_type)
|
|
524
609
|
{
|
|
525
610
|
return nullptr;
|
|
526
611
|
}
|
|
527
612
|
|
|
528
|
-
|
|
613
|
+
py::pytype_handle LicenseSatisfactionInfo_type{py::register_python_type(module.get(), &type_spec_LicenseSatisfactionInfo, object_bases.get(), nullptr)};
|
|
614
|
+
if (!LicenseSatisfactionInfo_type)
|
|
529
615
|
{
|
|
530
616
|
return nullptr;
|
|
531
617
|
}
|
|
532
618
|
|
|
533
|
-
|
|
619
|
+
py::pytype_handle LicenseSatisfactionResult_type{py::register_python_type(module.get(), &type_spec_LicenseSatisfactionResult, object_bases.get(), nullptr)};
|
|
620
|
+
if (!LicenseSatisfactionResult_type)
|
|
534
621
|
{
|
|
535
622
|
return nullptr;
|
|
536
623
|
}
|
|
@@ -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.ApplicationModel.Store.LicenseManagement
|
|
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,13 +10,13 @@ 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.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -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
|