python-for-android
python-for-android copied to clipboard
recipe: introduce isolated builds, using `PyProjectRecipe`
Closes #2904, Closes #2776 and maybe more
PyProjectRecipe: support for building packages in isolation which don't havesetup.pyfile butpyproject.toml.MesonRecipe: support for cross compiling meson based packages.
Here we need to inform the p4a users that if they are using numpy, they to set minimum ndk api to 24.
Please ping me when you're ready
What is gonna be promising is the PyProjectRecipe, as we still rely on setup.py and non-isolated builds.
Moving to isolated builds will help us quite a lot to mitigate most of the issues that currently require a lot of hacks/setup from the user side (Incompatible Cython versions, etc ...)
~@misl6 Hi, I can't figure out how to bump min ndk_api version. Can you please figure out?~
Edit: NVM fixed.
@misl6 Hi!
PR is ready for review.
@misl6 As now we are building wheels for packages, is there any plan to host that wheels? This could save some compile time.
@misl6 As now we are building wheels for packages, is there any plan to host that wheels? This could save some compile time.
This is possible but should be investigated. Feel free to ping me on Discord to discuss it, if you're interested on this topic.
@misl6 Done.
Addition:
Here we need to inform the p4a users that if they are using numpy, they to set minimum ndk api to 24.
Maybe we can just raise an error if they try to do so ?