winrt-runtime 2.0.0b2__tar.gz → 2.0.1__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-runtime-2.0.0b2 → winrt_runtime-2.0.1}/PKG-INFO +1 -1
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/_winrt_array.cpp +1 -1
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/pyproject.toml +3 -2
- winrt_runtime-2.0.1/pywinrt-version.txt +1 -0
- winrt_runtime-2.0.1/setup.py +31 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt_runtime.egg-info/PKG-INFO +1 -1
- winrt-runtime-2.0.0b2/pywinrt-version.txt +0 -1
- winrt-runtime-2.0.0b2/setup.py +0 -16
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/README.md +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/_winrt.cpp +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/runtime.cpp +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/setup.cfg +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt/_winrt.pyi +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt/py.typed +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt/system/__init__.py +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt_runtime.egg-info/SOURCES.txt +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt_runtime.egg-info/dependency_links.txt +0 -0
- {winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt_runtime.egg-info/top_level.txt +0 -0
|
@@ -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", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -31,7 +31,7 @@ version = { file = "pywinrt-version.txt" }
|
|
|
31
31
|
where = ["src"]
|
|
32
32
|
|
|
33
33
|
[tool.setuptools.package-data]
|
|
34
|
-
|
|
34
|
+
"*" = ["*.pyi", "py.typed"]
|
|
35
35
|
|
|
36
36
|
[tool.cibuildwheel]
|
|
37
37
|
# use local winrt-sdk build dependency
|
|
@@ -45,3 +45,4 @@ test-skip = "*-win_arm64"
|
|
|
45
45
|
|
|
46
46
|
[tool.cibuildwheel.windows]
|
|
47
47
|
archs = ["x86", "AMD64", "ARM64"]
|
|
48
|
+
repair-wheel-command = "python scripts/add_dlls.py {wheel} {dest_dir}"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
|
@@ -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",
|
|
26
|
+
sources=["_winrt.cpp", "_winrt_array.cpp", "runtime.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.2
|
winrt-runtime-2.0.0b2/setup.py
DELETED
|
@@ -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",
|
|
10
|
-
sources=["_winrt.cpp", "_winrt_array.cpp", "runtime.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{winrt-runtime-2.0.0b2 → winrt_runtime-2.0.1}/src/winrt_runtime.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|