winrt-Windows.ApplicationModel.DataTransfer.DragDrop 2.0.0b2__tar.gz → 2.1.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.
Files changed (19) hide show
  1. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/PKG-INFO +2 -1
  2. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/py.Windows.ApplicationModel.DataTransfer.DragDrop.cpp +13 -15
  3. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/pyproject.toml +2 -2
  4. winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0/pywinrt-version.txt +1 -0
  5. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/requirements.txt +2 -2
  6. winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0/setup.py +31 -0
  7. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop.pyi +1 -1
  8. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/winrt/windows/applicationmodel/datatransfer/dragdrop/__init__.py +2 -2
  9. winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0/winrt/windows/applicationmodel/datatransfer/dragdrop/py.typed +0 -0
  10. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/PKG-INFO +2 -1
  11. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/SOURCES.txt +1 -0
  12. winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/requires.txt +1 -0
  13. winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2/pywinrt-version.txt +0 -1
  14. winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2/setup.py +0 -16
  15. winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/requires.txt +0 -1
  16. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/README.md +0 -0
  17. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/setup.cfg +0 -0
  18. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/dependency_links.txt +0 -0
  19. {winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_dragdrop-2.1.0}/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.DataTransfer.DragDrop
3
- Version: 2.0.0b2
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,6 +12,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.1.0
15
16
 
16
17
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
18
 
@@ -1,25 +1,23 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  #include "py.Windows.ApplicationModel.DataTransfer.DragDrop.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::ApplicationModel::DataTransfer::DragDrop
7
6
  {
8
7
  // ----- Windows.ApplicationModel.DataTransfer.DragDrop Initialization --------------------
9
- PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::DataTransfer::DragDrop");
10
-
11
-
12
- static PyModuleDef module_def
13
- = {PyModuleDef_HEAD_INIT,
14
- "_winrt_windows_applicationmodel_datatransfer_dragdrop",
15
- module_doc,
16
- 0,
17
- nullptr,
18
- nullptr,
19
- nullptr,
20
- nullptr,
21
- nullptr};
22
8
 
9
+ PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.DataTransfer.DragDrop");
10
+
11
+ static PyModuleDef module_def = {
12
+ PyModuleDef_HEAD_INIT,
13
+ "_winrt_windows_applicationmodel_datatransfer_dragdrop",
14
+ module_doc,
15
+ 0,
16
+ nullptr,
17
+ nullptr,
18
+ nullptr,
19
+ nullptr,
20
+ nullptr};
23
21
  } // py::cpp::Windows::ApplicationModel::DataTransfer::DragDrop
24
22
 
25
23
  PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_datatransfer_dragdrop(void) noexcept
@@ -1,7 +1,7 @@
1
1
  # WARNING: Please don't edit this file. It was automatically generated.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
4
+ requires = ["setuptools", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
@@ -29,7 +29,7 @@ version = { file = "pywinrt-version.txt" }
29
29
  dependencies = { file = "requirements.txt" }
30
30
 
31
31
  [tool.setuptools.package-data]
32
- winrt = ["*.pyi"]
32
+ "*" = ["*.pyi", "py.typed"]
33
33
 
34
34
  [tool.cibuildwheel]
35
35
  # use local winrt-sdk build dependency
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-runtime==2.0.0-beta.2
3
+ winrt-runtime==2.1.0
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ from setuptools import Extension, setup
4
+ from setuptools.command.build_ext import build_ext
5
+ from winrt_sdk import get_include_dirs
6
+
7
+
8
+ class build_ext_ex(build_ext):
9
+ def build_extension(self, ext):
10
+ if self.compiler.compiler_type == "msvc":
11
+ ext.extra_compile_args = ["/std:c++20", "/permissive-"]
12
+ elif self.compiler.compiler_type == "mingw32":
13
+ ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
14
+ ext.extra_link_args = ["-loleaut32"]
15
+ else:
16
+ raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
17
+
18
+ build_ext.build_extension(self, ext)
19
+
20
+
21
+ setup(
22
+ cmdclass = {'build_ext': build_ext_ex},
23
+ ext_modules=[
24
+ Extension(
25
+ "winrt._winrt_windows_applicationmodel_datatransfer_dragdrop",
26
+ sources=["py.Windows.ApplicationModel.DataTransfer.DragDrop.cpp"],
27
+ include_dirs=get_include_dirs(),
28
+ libraries=["windowsapp"],
29
+ )
30
+ ],
31
+ )
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import enum
4
4
 
@@ -10,7 +10,7 @@ __all__ = [
10
10
  ]
11
11
 
12
12
  class DragDropModifiers(enum.IntFlag):
13
- NONE = 0
13
+ NONE = 0x0
14
14
  SHIFT = 0x1
15
15
  CONTROL = 0x2
16
16
  ALT = 0x4
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.DataTransfer.DragDrop
3
- Version: 2.0.0b2
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,6 +12,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.1.0
15
16
 
16
17
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
18
 
@@ -6,6 +6,7 @@ requirements.txt
6
6
  setup.py
7
7
  winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop.pyi
8
8
  winrt/windows/applicationmodel/datatransfer/dragdrop/__init__.py
9
+ winrt/windows/applicationmodel/datatransfer/dragdrop/py.typed
9
10
  winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/PKG-INFO
10
11
  winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/SOURCES.txt
11
12
  winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/dependency_links.txt
@@ -1,16 +0,0 @@
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_applicationmodel_datatransfer_dragdrop",
10
- sources=["py.Windows.ApplicationModel.DataTransfer.DragDrop.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- )