Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDEA]: host a pip repo #1697

Open
T-Dynamos opened this issue Sep 13, 2023 · 1 comment
Open

[IDEA]: host a pip repo #1697

T-Dynamos opened this issue Sep 13, 2023 · 1 comment
Labels

Comments

@T-Dynamos
Copy link

T-Dynamos commented Sep 13, 2023

What do you think about this idea: creating a community-driven pip repository where we can access prebuilt binaries in .whl files tailored to specific architectures. This could significantly reduce build times and make it easier to use packages that demand a lot of CPU and RAM resources (like numpy, cryptography etc...). To handle the compilation, we could use a Termux Docker image within GitHub Actions.

I have tried this to do once, I tried to install a .whl file which was built using termux, But pip was not accepting it, (pip takes x86 arch but binary was arm64). I think that could be fixed with providing some arguments to pip?

EDIT: To install a .whl I had to do some patching to https://github.com/kivy/python-for-android/blob/4d50d7d883bb6313f37c22402ecfaefa689bbbed/pythonforandroid/build.py#L652

@yves-surrel
Copy link

Great idea IMHO.
Would it allow to install new libraries from within an apk-installed python under Android?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants