winrt-Windows.System.RemoteDesktop 2.0.0b1__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.0b1/PKG-INFO +21 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/README.md +7 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/py.Windows.System.RemoteDesktop.cpp +146 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/pyproject.toml +42 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/pywinrt-version.txt +1 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/requirements.txt +3 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/setup.cfg +4 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/setup.py +17 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt/_winrt_windows_system_remotedesktop.pyi +22 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt/windows/system/remotedesktop/__init__.py +10 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/PKG-INFO +21 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/SOURCES.txt +13 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/dependency_links.txt +1 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/requires.txt +1 -0
- winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.System.RemoteDesktop
|
|
3
|
+
Version: 2.0.0b1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Repository, https://github.com/pywrint/pywrinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Requires-Python: <3.13,>=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
16
|
+
|
|
17
|
+
# winrt-Windows.System.RemoteDesktop
|
|
18
|
+
|
|
19
|
+
Windows Runtime (WinRT) APIs for for the `Windows.System.RemoteDesktop` namespace.
|
|
20
|
+
|
|
21
|
+
This package provides the `winrt.windows.system.remotedesktop` module.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
2
|
+
|
|
3
|
+
# winrt-Windows.System.RemoteDesktop
|
|
4
|
+
|
|
5
|
+
Windows Runtime (WinRT) APIs for for the `Windows.System.RemoteDesktop` namespace.
|
|
6
|
+
|
|
7
|
+
This package provides the `winrt.windows.system.remotedesktop` module.
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
#include "py.Windows.System.RemoteDesktop.h"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
namespace py::cpp::Windows::System::RemoteDesktop
|
|
7
|
+
{
|
|
8
|
+
// ----- InteractiveSession class --------------------
|
|
9
|
+
|
|
10
|
+
static PyObject* _new_InteractiveSession(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
|
|
11
|
+
{
|
|
12
|
+
static_assert(py::py_type<winrt::Windows::System::RemoteDesktop::InteractiveSession>::type_name);
|
|
13
|
+
py::set_invalid_activation_error(py::py_type<winrt::Windows::System::RemoteDesktop::InteractiveSession>::type_name);
|
|
14
|
+
return nullptr;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static PyObject* InteractiveSession_get_IsRemote(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
18
|
+
{
|
|
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
|
+
try
|
|
26
|
+
{
|
|
27
|
+
return py::convert(winrt::Windows::System::RemoteDesktop::InteractiveSession::IsRemote());
|
|
28
|
+
}
|
|
29
|
+
catch (...)
|
|
30
|
+
{
|
|
31
|
+
py::to_PyErr();
|
|
32
|
+
return nullptr;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
static PyMethodDef _methods_InteractiveSession[] = {
|
|
37
|
+
{ }
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
static PyGetSetDef _getset_InteractiveSession[] = {
|
|
41
|
+
{ }
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
static PyType_Slot _type_slots_InteractiveSession[] =
|
|
45
|
+
{
|
|
46
|
+
{ Py_tp_new, reinterpret_cast<void*>(_new_InteractiveSession) },
|
|
47
|
+
{ Py_tp_methods, reinterpret_cast<void*>(_methods_InteractiveSession) },
|
|
48
|
+
{ Py_tp_getset, reinterpret_cast<void*>(_getset_InteractiveSession) },
|
|
49
|
+
{ },
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
static PyType_Spec type_spec_InteractiveSession =
|
|
53
|
+
{
|
|
54
|
+
"winrt._winrt_windows_system_remotedesktop.InteractiveSession",
|
|
55
|
+
0,
|
|
56
|
+
0,
|
|
57
|
+
Py_TPFLAGS_DEFAULT,
|
|
58
|
+
_type_slots_InteractiveSession
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
static PyGetSetDef getset_InteractiveSession_Static[] = {
|
|
62
|
+
{ "is_remote", reinterpret_cast<getter>(InteractiveSession_get_IsRemote), nullptr, nullptr, nullptr },
|
|
63
|
+
{ }
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
static PyMethodDef methods_InteractiveSession_Static[] = {
|
|
67
|
+
{ }
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
static PyType_Slot type_slots_InteractiveSession_Static[] =
|
|
71
|
+
{
|
|
72
|
+
{ Py_tp_base, reinterpret_cast<void*>(&PyType_Type) },
|
|
73
|
+
{ Py_tp_getset, reinterpret_cast<void*>(getset_InteractiveSession_Static) },
|
|
74
|
+
{ Py_tp_methods, reinterpret_cast<void*>(methods_InteractiveSession_Static) },
|
|
75
|
+
{ }
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
static PyType_Spec type_spec_InteractiveSession_Static =
|
|
79
|
+
{
|
|
80
|
+
"winrt._winrt_windows_system_remotedesktop.InteractiveSession_Static",
|
|
81
|
+
static_cast<int>(PyType_Type.tp_basicsize),
|
|
82
|
+
static_cast<int>(PyType_Type.tp_itemsize),
|
|
83
|
+
Py_TPFLAGS_DEFAULT,
|
|
84
|
+
type_slots_InteractiveSession_Static
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
// ----- Windows.System.RemoteDesktop Initialization --------------------
|
|
88
|
+
PyDoc_STRVAR(module_doc, "Windows::System::RemoteDesktop");
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
static PyModuleDef module_def
|
|
92
|
+
= {PyModuleDef_HEAD_INIT,
|
|
93
|
+
"_winrt_windows_system_remotedesktop",
|
|
94
|
+
module_doc,
|
|
95
|
+
0,
|
|
96
|
+
nullptr,
|
|
97
|
+
nullptr,
|
|
98
|
+
nullptr,
|
|
99
|
+
nullptr,
|
|
100
|
+
nullptr};
|
|
101
|
+
|
|
102
|
+
} // py::cpp::Windows::System::RemoteDesktop
|
|
103
|
+
|
|
104
|
+
PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop(void) noexcept
|
|
105
|
+
{
|
|
106
|
+
using namespace py::cpp::Windows::System::RemoteDesktop;
|
|
107
|
+
|
|
108
|
+
if (py::import_winrt_runtime() == -1)
|
|
109
|
+
{
|
|
110
|
+
return nullptr;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
py::pyobj_handle module{PyModule_Create(&module_def)};
|
|
114
|
+
|
|
115
|
+
if (!module)
|
|
116
|
+
{
|
|
117
|
+
return nullptr;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
auto object_type = py::get_object_type();
|
|
121
|
+
if (!object_type)
|
|
122
|
+
{
|
|
123
|
+
return nullptr;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
py::pyobj_handle object_bases{PyTuple_Pack(1, object_type)};
|
|
127
|
+
|
|
128
|
+
if (!object_bases)
|
|
129
|
+
{
|
|
130
|
+
return nullptr;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
py::pyobj_handle type_InteractiveSession_Static{PyType_FromSpec(&type_spec_InteractiveSession_Static)};
|
|
134
|
+
if (!type_InteractiveSession_Static)
|
|
135
|
+
{
|
|
136
|
+
return nullptr;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (py::register_python_type(module.get(), &type_spec_InteractiveSession, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_InteractiveSession_Static.get())) == -1)
|
|
140
|
+
{
|
|
141
|
+
return nullptr;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
return module.detach();
|
|
146
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
[build-system]
|
|
4
|
+
requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
|
|
5
|
+
build-backend = "setuptools.build_meta"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "winrt-Windows.System.RemoteDesktop"
|
|
9
|
+
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Operating System :: Microsoft :: Windows",
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
]
|
|
18
|
+
dynamic = ["version", "dependencies"]
|
|
19
|
+
requires-python = ">=3.9,<3.13"
|
|
20
|
+
|
|
21
|
+
[project.urls]
|
|
22
|
+
# Homepage = "https://github.com/pywrint/pywrinrt"
|
|
23
|
+
# Documentation = "https://readthedocs.org"
|
|
24
|
+
Repository = "https://github.com/pywrint/pywrinrt"
|
|
25
|
+
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
|
+
|
|
27
|
+
[tool.setuptools.dynamic]
|
|
28
|
+
version = { file = "pywinrt-version.txt" }
|
|
29
|
+
dependencies = { file = "requirements.txt" }
|
|
30
|
+
|
|
31
|
+
[tool.cibuildwheel]
|
|
32
|
+
# use local winrt-sdk build dependency
|
|
33
|
+
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
34
|
+
# don't install winrt-sdk from PyPI
|
|
35
|
+
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
36
|
+
# don't build for PyPy
|
|
37
|
+
skip = "pp*"
|
|
38
|
+
# suppress warnings about ARM64 testing
|
|
39
|
+
test-skip = "*-win_arm64"
|
|
40
|
+
|
|
41
|
+
[tool.cibuildwheel.windows]
|
|
42
|
+
archs = ["x86", "AMD64", "ARM64"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.0-beta.1
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from winrt_sdk import get_include_dirs
|
|
5
|
+
|
|
6
|
+
setup(
|
|
7
|
+
ext_modules=[
|
|
8
|
+
Extension(
|
|
9
|
+
"winrt._winrt_windows_system_remotedesktop",
|
|
10
|
+
sources=["py.Windows.System.RemoteDesktop.cpp"],
|
|
11
|
+
include_dirs=get_include_dirs(),
|
|
12
|
+
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
+
libraries=["windowsapp"],
|
|
14
|
+
)
|
|
15
|
+
],
|
|
16
|
+
package_data={"winrt": ["*.pyi"]},
|
|
17
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
|
|
13
|
+
Self = typing.TypeVar('Self')
|
|
14
|
+
|
|
15
|
+
class InteractiveSession_Static(type):
|
|
16
|
+
@_property
|
|
17
|
+
def is_remote(cls) -> bool: ...
|
|
18
|
+
|
|
19
|
+
class InteractiveSession(winrt.system.Object, metaclass=InteractiveSession_Static):
|
|
20
|
+
@staticmethod
|
|
21
|
+
def _from(obj: winrt.system.Object, /) -> InteractiveSession: ...
|
|
22
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt import _winrt_windows_system_remotedesktop
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
"InteractiveSession",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
InteractiveSession = _winrt_windows_system_remotedesktop.InteractiveSession
|
winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/PKG-INFO
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.System.RemoteDesktop
|
|
3
|
+
Version: 2.0.0b1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Repository, https://github.com/pywrint/pywrinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Requires-Python: <3.13,>=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
16
|
+
|
|
17
|
+
# winrt-Windows.System.RemoteDesktop
|
|
18
|
+
|
|
19
|
+
Windows Runtime (WinRT) APIs for for the `Windows.System.RemoteDesktop` namespace.
|
|
20
|
+
|
|
21
|
+
This package provides the `winrt.windows.system.remotedesktop` module.
|
winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/SOURCES.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
py.Windows.System.RemoteDesktop.cpp
|
|
3
|
+
pyproject.toml
|
|
4
|
+
pywinrt-version.txt
|
|
5
|
+
requirements.txt
|
|
6
|
+
setup.py
|
|
7
|
+
winrt/_winrt_windows_system_remotedesktop.pyi
|
|
8
|
+
winrt/windows/system/remotedesktop/__init__.py
|
|
9
|
+
winrt_Windows.System.RemoteDesktop.egg-info/PKG-INFO
|
|
10
|
+
winrt_Windows.System.RemoteDesktop.egg-info/SOURCES.txt
|
|
11
|
+
winrt_Windows.System.RemoteDesktop.egg-info/dependency_links.txt
|
|
12
|
+
winrt_Windows.System.RemoteDesktop.egg-info/requires.txt
|
|
13
|
+
winrt_Windows.System.RemoteDesktop.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==2.0.0-beta.1
|
winrt-Windows.System.RemoteDesktop-2.0.0b1/winrt_Windows.System.RemoteDesktop.egg-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|