winrt-Windows.Perception.Automation.Core 2.3.0__tar.gz → 3.0.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_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/PKG-INFO +4 -4
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/all-requirements.txt +2 -2
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/py.Windows.Perception.Automation.Core.cpp +27 -18
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/pyproject.toml +2 -2
- winrt_windows_perception_automation_core-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/requirements.txt +2 -2
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/setup.py +1 -1
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/winrt/_winrt_windows_perception_automation_core.pyi +4 -3
- winrt_windows_perception_automation_core-3.0.0/winrt/windows/perception/automation/core/__init__.py +11 -0
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/winrt_Windows.Perception.Automation.Core.egg-info/PKG-INFO +4 -4
- winrt_windows_perception_automation_core-3.0.0/winrt_Windows.Perception.Automation.Core.egg-info/requires.txt +4 -0
- winrt_windows_perception_automation_core-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_perception_automation_core-2.3.0/winrt/windows/perception/automation/core/__init__.py +0 -10
- winrt_windows_perception_automation_core-2.3.0/winrt_Windows.Perception.Automation.Core.egg-info/requires.txt +0 -4
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/README.md +0 -0
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/setup.cfg +0 -0
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/winrt/windows/perception/automation/core/py.typed +0 -0
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/winrt_Windows.Perception.Automation.Core.egg-info/SOURCES.txt +0 -0
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/winrt_Windows.Perception.Automation.Core.egg-info/dependency_links.txt +0 -0
- {winrt_windows_perception_automation_core-2.3.0 → winrt_windows_perception_automation_core-3.0.0}/winrt_Windows.Perception.Automation.Core.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Perception.Automation.Core
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.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
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.Foundation[all]==
|
|
3
|
+
winrt-Windows.Foundation[all]==3.0.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Perception.Automation.Core.h"
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ namespace py::cpp::Windows::Perception::Automation::Core
|
|
|
15
15
|
|
|
16
16
|
static PyObject* CorePerceptionAutomation_SetActivationFactoryProvider(PyObject* /*unused*/, PyObject* args) noexcept
|
|
17
17
|
{
|
|
18
|
-
auto arg_count =
|
|
18
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
19
19
|
|
|
20
20
|
if (arg_count == 1)
|
|
21
21
|
{
|
|
@@ -36,7 +36,11 @@ namespace py::cpp::Windows::Perception::Automation::Core
|
|
|
36
36
|
|
|
37
37
|
auto param0 = py::convert_to<winrt::Windows::Foundation::IGetActivationFactory>(args, 0);
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
{
|
|
40
|
+
auto _gil = release_gil();
|
|
41
|
+
winrt::Windows::Perception::Automation::Core::CorePerceptionAutomation::SetActivationFactoryProvider(param0);
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
Py_RETURN_NONE;
|
|
41
45
|
}
|
|
42
46
|
catch (...)
|
|
@@ -53,19 +57,16 @@ namespace py::cpp::Windows::Perception::Automation::Core
|
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
static PyMethodDef _methods_CorePerceptionAutomation[] = {
|
|
56
|
-
{ }
|
|
57
|
-
};
|
|
60
|
+
{ }};
|
|
58
61
|
|
|
59
62
|
static PyGetSetDef _getset_CorePerceptionAutomation[] = {
|
|
60
|
-
{ }
|
|
61
|
-
};
|
|
63
|
+
{ }};
|
|
62
64
|
|
|
63
65
|
static PyType_Slot _type_slots_CorePerceptionAutomation[] = {
|
|
64
66
|
{ Py_tp_new, reinterpret_cast<void*>(_new_CorePerceptionAutomation) },
|
|
65
67
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_CorePerceptionAutomation) },
|
|
66
68
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_CorePerceptionAutomation) },
|
|
67
|
-
{ }
|
|
68
|
-
};
|
|
69
|
+
{ }};
|
|
69
70
|
|
|
70
71
|
static PyType_Spec type_spec_CorePerceptionAutomation = {
|
|
71
72
|
"winrt._winrt_windows_perception_automation_core.CorePerceptionAutomation",
|
|
@@ -75,13 +76,11 @@ namespace py::cpp::Windows::Perception::Automation::Core
|
|
|
75
76
|
_type_slots_CorePerceptionAutomation};
|
|
76
77
|
|
|
77
78
|
static PyGetSetDef getset_CorePerceptionAutomation_Static[] = {
|
|
78
|
-
{ }
|
|
79
|
-
};
|
|
79
|
+
{ }};
|
|
80
80
|
|
|
81
81
|
static PyMethodDef methods_CorePerceptionAutomation_Static[] = {
|
|
82
82
|
{ "set_activation_factory_provider", reinterpret_cast<PyCFunction>(CorePerceptionAutomation_SetActivationFactoryProvider), METH_VARARGS, nullptr },
|
|
83
|
-
{ }
|
|
84
|
-
};
|
|
83
|
+
{ }};
|
|
85
84
|
|
|
86
85
|
static PyType_Slot type_slots_CorePerceptionAutomation_Static[] =
|
|
87
86
|
{
|
|
@@ -91,14 +90,12 @@ namespace py::cpp::Windows::Perception::Automation::Core
|
|
|
91
90
|
{ }
|
|
92
91
|
};
|
|
93
92
|
|
|
94
|
-
static PyType_Spec type_spec_CorePerceptionAutomation_Static =
|
|
95
|
-
{
|
|
93
|
+
static PyType_Spec type_spec_CorePerceptionAutomation_Static = {
|
|
96
94
|
"winrt._winrt_windows_perception_automation_core.CorePerceptionAutomation_Static",
|
|
97
95
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
98
96
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
99
97
|
Py_TPFLAGS_DEFAULT,
|
|
100
|
-
type_slots_CorePerceptionAutomation_Static
|
|
101
|
-
};
|
|
98
|
+
type_slots_CorePerceptionAutomation_Static};
|
|
102
99
|
|
|
103
100
|
// ----- Windows.Perception.Automation.Core Initialization --------------------
|
|
104
101
|
|
|
@@ -132,6 +129,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_perception_automation_core(void) noexcept
|
|
|
132
129
|
return nullptr;
|
|
133
130
|
}
|
|
134
131
|
|
|
132
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
133
|
+
if (!inspectable_meta_type)
|
|
134
|
+
{
|
|
135
|
+
return nullptr;
|
|
136
|
+
}
|
|
137
|
+
|
|
135
138
|
auto object_type = py::get_object_type();
|
|
136
139
|
if (!object_type)
|
|
137
140
|
{
|
|
@@ -145,7 +148,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_perception_automation_core(void) noexcept
|
|
|
145
148
|
return nullptr;
|
|
146
149
|
}
|
|
147
150
|
|
|
148
|
-
py::pyobj_handle
|
|
151
|
+
py::pyobj_handle CorePerceptionAutomation_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
152
|
+
if (!CorePerceptionAutomation_Static_bases)
|
|
153
|
+
{
|
|
154
|
+
return nullptr;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
py::pyobj_handle type_CorePerceptionAutomation_Static{PyType_FromSpecWithBases(&type_spec_CorePerceptionAutomation_Static, CorePerceptionAutomation_Static_bases.get())};
|
|
149
158
|
if (!type_CorePerceptionAutomation_Static)
|
|
150
159
|
{
|
|
151
160
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -14,8 +14,9 @@ import winrt.windows.foundation as windows_foundation
|
|
|
14
14
|
Self = typing.TypeVar('Self')
|
|
15
15
|
|
|
16
16
|
@typing.final
|
|
17
|
-
class CorePerceptionAutomation_Static(
|
|
18
|
-
|
|
17
|
+
class CorePerceptionAutomation_Static(winrt._winrt.IInspectable_Static):
|
|
18
|
+
# System.Void Windows.Perception.Automation.Core.CorePerceptionAutomation::SetActivationFactoryProvider(Windows.Foundation.IGetActivationFactory)
|
|
19
|
+
def set_activation_factory_provider(cls, provider: windows_foundation.IGetActivationFactory, /) -> None: ...
|
|
19
20
|
|
|
20
21
|
@typing.final
|
|
21
22
|
class CorePerceptionAutomation(winrt.system.Object, metaclass=CorePerceptionAutomation_Static):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Perception.Automation.Core
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.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.3.0
|
winrt_windows_perception_automation_core-2.3.0/winrt/windows/perception/automation/core/__init__.py
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import winrt.system
|
|
4
|
-
from winrt import _winrt_windows_perception_automation_core
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"CorePerceptionAutomation",
|
|
8
|
-
]
|
|
9
|
-
|
|
10
|
-
CorePerceptionAutomation = _winrt_windows_perception_automation_core.CorePerceptionAutomation
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|