You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As isolated build were introduced in #3007 , now we can build wheels for recipes.
This will allow us build app without any compilation step in near future.
This way we could also support for build on windows (and other platforms).
After all recipes are ready for wheel packaging, we may create a separate project which will work by downloading prebuilt things and then build using gradle.
An hypothetical directory structure of that project may look like:
~$ lsmain.pybuildozer.spec~$ p4abuilder init... This will initialize directory structure~$ lspython_bundle # contains site-packagesandroid_build # contains gradle projectmain.py # other project filesbuildozer.spec~$ p4abuilder install polars... installs prebuilt package into python_bundle~$ p4abuilder build... will automatically pack changed files into private.tar... and same with site packages and then will call gradle for build
p4abuilder is a hypothetical name 😄
Pros:
Allow developers to get direct access to gradle files and site-packages.
Build app faster, no compilation needed.
Will support every platform which can run gradle (java)
Cons:
We can't really upload every release of recipe, developers are forced to use latest versions.
I think this can be solved, we can host multiple versions but only for selected packages.
For now we have pending recipes which we need to port to PyProjectRecipe.
Current State
This will be updated side by side as recipes are ported.
As isolated build were introduced in #3007 , now we can build wheels for recipes.
This will allow us build app without any compilation step in near future.
This way we could also support for build on windows (and other platforms).
After all recipes are ready for wheel packaging, we may create a separate project which will work by downloading prebuilt things and then build using gradle.
An hypothetical directory structure of that project may look like:
Pros:
Cons:
I think this can be solved, we can host multiple versions but only for selected packages.
For now we have pending recipes which we need to port to
PyProjectRecipe
.Current State
This will be updated side by side as recipes are ported.
Ready
Click to view
Backlog
Click to view
Libs
Click to view
TODO:
CC: @misl6 Feel free to improve the plan.
The text was updated successfully, but these errors were encountered: