We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e928129 commit fb85205Copy full SHA for fb85205
1 file changed
pythonforandroid/meson_python.py
@@ -18,14 +18,14 @@ def handle_python_info():
18
19
prefix = C.TARGET_PYTHON_PREFIX
20
21
- sysconfig_file = glob(join(prefix, "lib/python3.14/_sysconfigdata*.py"))[0]
+ ver_python = f"python{C.PYTHON_MAJOR_VERSION}.{C.PYTHON_MINOR_VERSION}"
22
+
23
+ sysconfig_file = glob(join(prefix, f"lib/{ver_python}/_sysconfigdata*.py"))[0]
24
25
spec = importlib.util.spec_from_file_location("_android_cfg", sysconfig_file)
26
cfg = importlib.util.module_from_spec(spec)
27
spec.loader.exec_module(cfg)
28
- ver_python = f"python{C.PYTHON_MAJOR_VERSION}.{C.PYTHON_MINOR_VERSION}"
-
29
site_path = join(prefix, f"lib/{ver_python}/site-packages")
30
31
android_paths = {
0 commit comments