winrt-Windows.System.Display
Advanced tools
+3
-3
| Metadata-Version: 2.1 | ||
| Name: winrt-Windows.System.Display | ||
| Version: 2.1.0 | ||
| Version: 2.2.0 | ||
| Summary: Python projection of Windows Runtime (WinRT) APIs | ||
@@ -13,5 +13,5 @@ License: MIT | ||
| Classifier: Intended Audience :: Developers | ||
| Requires-Python: <3.13,>=3.9 | ||
| Requires-Python: <3.14,>=3.9 | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: winrt-runtime==2.1.0 | ||
| Requires-Dist: winrt-runtime==2.2.0 | ||
@@ -18,0 +18,0 @@ <!-- warning: Please don't edit this file. It was automatically generated. --> |
@@ -1,2 +0,2 @@ | ||
| // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
| // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0 | ||
@@ -22,3 +22,3 @@ #include "py.Windows.System.Display.h" | ||
| { | ||
| winrt::Windows::System::Display::DisplayRequest instance{ }; | ||
| winrt::Windows::System::Display::DisplayRequest instance{}; | ||
| return py::wrap(instance, type); | ||
@@ -55,4 +55,11 @@ } | ||
| { | ||
| if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestActive", 0)) | ||
| static std::optional<bool> is_overload_present{}; | ||
| if (!is_overload_present.has_value()) | ||
| { | ||
| is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestActive", 0); | ||
| } | ||
| if (!is_overload_present.value()) | ||
| { | ||
| py::set_arg_count_version_error(0); | ||
@@ -86,4 +93,11 @@ return nullptr; | ||
| { | ||
| if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestRelease", 0)) | ||
| static std::optional<bool> is_overload_present{}; | ||
| if (!is_overload_present.has_value()) | ||
| { | ||
| is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestRelease", 0); | ||
| } | ||
| if (!is_overload_present.value()) | ||
| { | ||
| py::set_arg_count_version_error(0); | ||
@@ -205,3 +219,4 @@ return nullptr; | ||
| if (py::register_python_type(module.get(), &type_spec_DisplayRequest, object_bases.get(), nullptr) == -1) | ||
| py::pytype_handle DisplayRequest_type{py::register_python_type(module.get(), &type_spec_DisplayRequest, object_bases.get(), nullptr)}; | ||
| if (!DisplayRequest_type) | ||
| { | ||
@@ -208,0 +223,0 @@ return nullptr; |
+3
-2
@@ -19,3 +19,3 @@ # WARNING: Please don't edit this file. It was automatically generated. | ||
| dynamic = ["version", "dependencies"] | ||
| requires-python = ">=3.9,<3.13" | ||
| requires-python = ">=3.9,<3.14" | ||
@@ -39,3 +39,4 @@ [project.urls] | ||
| # don't install winrt-sdk from PyPI | ||
| build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] } | ||
| build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] } | ||
| before-build = "uv pip install setuptools" | ||
| # don't build for PyPy | ||
@@ -42,0 +43,0 @@ skip = "pp*" |
@@ -1,1 +0,1 @@ | ||
| 2.1.0 | ||
| 2.2.0 |
+2
-2
@@ -1,3 +0,3 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0 | ||
| winrt-runtime==2.1.0 | ||
| winrt-runtime==2.2.0 |
| Metadata-Version: 2.1 | ||
| Name: winrt-Windows.System.Display | ||
| Version: 2.1.0 | ||
| Version: 2.2.0 | ||
| Summary: Python projection of Windows Runtime (WinRT) APIs | ||
@@ -13,5 +13,5 @@ License: MIT | ||
| Classifier: Intended Audience :: Developers | ||
| Requires-Python: <3.13,>=3.9 | ||
| Requires-Python: <3.14,>=3.9 | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: winrt-runtime==2.1.0 | ||
| Requires-Dist: winrt-runtime==2.2.0 | ||
@@ -18,0 +18,0 @@ <!-- warning: Please don't edit this file. It was automatically generated. --> |
@@ -1,1 +0,1 @@ | ||
| winrt-runtime==2.1.0 | ||
| winrt-runtime==2.2.0 |
@@ -1,2 +0,2 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0 | ||
@@ -3,0 +3,0 @@ import datetime |
@@ -1,2 +0,2 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0 | ||
@@ -3,0 +3,0 @@ import winrt.system |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
12708
4.63%