winrt-Windows.System.RemoteDesktop 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.
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/PKG-INFO +3 -3
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/py.Windows.System.RemoteDesktop.cpp +31 -28
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/pyproject.toml +3 -2
- winrt_windows_system_remotedesktop-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/requirements.txt +2 -2
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/winrt/_winrt_windows_system_remotedesktop.pyi +2 -3
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/winrt/windows/system/remotedesktop/__init__.py +1 -1
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/winrt_Windows.System.RemoteDesktop.egg-info/PKG-INFO +3 -3
- winrt_windows_system_remotedesktop-2.2.0/winrt_Windows.System.RemoteDesktop.egg-info/requires.txt +1 -0
- winrt_windows_system_remotedesktop-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_system_remotedesktop-2.0.1/winrt_Windows.System.RemoteDesktop.egg-info/requires.txt +0 -1
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/README.md +0 -0
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/setup.cfg +0 -0
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/setup.py +0 -0
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/winrt/windows/system/remotedesktop/py.typed +0 -0
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/winrt_Windows.System.RemoteDesktop.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/winrt_Windows.System.RemoteDesktop.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/winrt_Windows.System.RemoteDesktop.egg-info/top_level.txt +0 -0
{winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop
|
|
3
|
-
Version: 2.0
|
|
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,9 +10,9 @@ 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.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.RemoteDesktop.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::System::RemoteDesktop
|
|
7
6
|
{
|
|
8
7
|
// ----- InteractiveSession class --------------------
|
|
@@ -16,14 +15,21 @@ namespace py::cpp::Windows::System::RemoteDesktop
|
|
|
16
15
|
|
|
17
16
|
static PyObject* InteractiveSession_get_IsRemote(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
18
17
|
{
|
|
19
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.InteractiveSession", L"IsRemote"))
|
|
20
|
-
{
|
|
21
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
22
|
-
return nullptr;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
18
|
try
|
|
26
19
|
{
|
|
20
|
+
static std::optional<bool> is_property_present{};
|
|
21
|
+
|
|
22
|
+
if (!is_property_present.has_value())
|
|
23
|
+
{
|
|
24
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.InteractiveSession", L"IsRemote");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (!is_property_present.value())
|
|
28
|
+
{
|
|
29
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
30
|
+
return nullptr;
|
|
31
|
+
}
|
|
32
|
+
|
|
27
33
|
return py::convert(winrt::Windows::System::RemoteDesktop::InteractiveSession::IsRemote());
|
|
28
34
|
}
|
|
29
35
|
catch (...)
|
|
@@ -41,22 +47,19 @@ namespace py::cpp::Windows::System::RemoteDesktop
|
|
|
41
47
|
{ }
|
|
42
48
|
};
|
|
43
49
|
|
|
44
|
-
static PyType_Slot _type_slots_InteractiveSession[] =
|
|
45
|
-
{
|
|
50
|
+
static PyType_Slot _type_slots_InteractiveSession[] = {
|
|
46
51
|
{ Py_tp_new, reinterpret_cast<void*>(_new_InteractiveSession) },
|
|
47
52
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_InteractiveSession) },
|
|
48
53
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_InteractiveSession) },
|
|
49
|
-
{ }
|
|
54
|
+
{ }
|
|
50
55
|
};
|
|
51
56
|
|
|
52
|
-
static PyType_Spec type_spec_InteractiveSession =
|
|
53
|
-
{
|
|
57
|
+
static PyType_Spec type_spec_InteractiveSession = {
|
|
54
58
|
"winrt._winrt_windows_system_remotedesktop.InteractiveSession",
|
|
55
59
|
0,
|
|
56
60
|
0,
|
|
57
61
|
Py_TPFLAGS_DEFAULT,
|
|
58
|
-
_type_slots_InteractiveSession
|
|
59
|
-
};
|
|
62
|
+
_type_slots_InteractiveSession};
|
|
60
63
|
|
|
61
64
|
static PyGetSetDef getset_InteractiveSession_Static[] = {
|
|
62
65
|
{ "is_remote", reinterpret_cast<getter>(InteractiveSession_get_IsRemote), nullptr, nullptr, nullptr },
|
|
@@ -85,20 +88,19 @@ namespace py::cpp::Windows::System::RemoteDesktop
|
|
|
85
88
|
};
|
|
86
89
|
|
|
87
90
|
// ----- Windows.System.RemoteDesktop Initialization --------------------
|
|
88
|
-
PyDoc_STRVAR(module_doc, "Windows::System::RemoteDesktop");
|
|
89
|
-
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
= {PyModuleDef_HEAD_INIT,
|
|
93
|
-
"_winrt_windows_system_remotedesktop",
|
|
94
|
-
module_doc,
|
|
95
|
-
0,
|
|
96
|
-
nullptr,
|
|
97
|
-
nullptr,
|
|
98
|
-
nullptr,
|
|
99
|
-
nullptr,
|
|
100
|
-
nullptr};
|
|
92
|
+
PyDoc_STRVAR(module_doc, "Windows.System.RemoteDesktop");
|
|
101
93
|
|
|
94
|
+
static PyModuleDef module_def = {
|
|
95
|
+
PyModuleDef_HEAD_INIT,
|
|
96
|
+
"_winrt_windows_system_remotedesktop",
|
|
97
|
+
module_doc,
|
|
98
|
+
0,
|
|
99
|
+
nullptr,
|
|
100
|
+
nullptr,
|
|
101
|
+
nullptr,
|
|
102
|
+
nullptr,
|
|
103
|
+
nullptr};
|
|
102
104
|
} // py::cpp::Windows::System::RemoteDesktop
|
|
103
105
|
|
|
104
106
|
PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop(void) noexcept
|
|
@@ -136,7 +138,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop(void) noexcept
|
|
|
136
138
|
return nullptr;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
|
-
|
|
141
|
+
py::pytype_handle InteractiveSession_type{py::register_python_type(module.get(), &type_spec_InteractiveSession, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_InteractiveSession_Static.get()))};
|
|
142
|
+
if (!InteractiveSession_type)
|
|
140
143
|
{
|
|
141
144
|
return nullptr;
|
|
142
145
|
}
|
{winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/pyproject.toml
RENAMED
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "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"
|
|
@@ -35,7 +35,8 @@ dependencies = { file = "requirements.txt" }
|
|
|
35
35
|
# use local winrt-sdk build dependency
|
|
36
36
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
37
37
|
# don't install winrt-sdk from PyPI
|
|
38
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
38
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
before-build = "uv pip install setuptools"
|
|
39
40
|
# don't build for PyPy
|
|
40
41
|
skip = "pp*"
|
|
41
42
|
# 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.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
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
|
+
# 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
|
|
@@ -19,6 +19,5 @@ class InteractiveSession_Static(type):
|
|
|
19
19
|
|
|
20
20
|
@typing.final
|
|
21
21
|
class InteractiveSession(winrt.system.Object, metaclass=InteractiveSession_Static):
|
|
22
|
-
|
|
23
|
-
def _from(obj: winrt.system.Object, /) -> InteractiveSession: ...
|
|
22
|
+
pass
|
|
24
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop
|
|
3
|
-
Version: 2.0
|
|
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,9 +10,9 @@ 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.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
winrt_windows_system_remotedesktop-2.2.0/winrt_Windows.System.RemoteDesktop.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==2.2.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
winrt_windows_system_remotedesktop-2.0.1/winrt_Windows.System.RemoteDesktop.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.1
|
{winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/setup.cfg
RENAMED
|
File without changes
|
{winrt_windows_system_remotedesktop-2.0.1 → winrt_windows_system_remotedesktop-2.2.0}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|