Skip to content

fix PYTHONPATH hacks#3301

Open
T-Dynamos wants to merge 11 commits intodevelopfrom
issue_fix
Open

fix PYTHONPATH hacks#3301
T-Dynamos wants to merge 11 commits intodevelopfrom
issue_fix

Conversation

@T-Dynamos
Copy link
Copy Markdown
Member

@T-Dynamos T-Dynamos commented Apr 16, 2026

Closes #3300

Remove PYTHONPATH hacks, and use proper make install which pre encodes python path related info into executable itself. (sysconfig related stuff)

This PR introduces significant changes to MesonRecipe - To make it work there was a need to introduce wrappers (e.g. pythonforandroid/meson_python.py) which "acts" like they are running python on android itself returning correct sysconfig data (As meson doesn't support cross compiling when using python stuff).

@T-Dynamos T-Dynamos marked this pull request as draft April 16, 2026 18:09
@T-Dynamos T-Dynamos marked this pull request as ready for review April 21, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.

1 participant