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

Add a python native library migration guide,please. #175

Closed
ghost opened this issue Nov 20, 2019 · 3 comments
Closed

Add a python native library migration guide,please. #175

ghost opened this issue Nov 20, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 20, 2019

During use, I need some python wrapper for the c language native library.
For example: opencv-contrib-python.
I tried to compile it with NDK, but only generated the java wrapper.
So I want to know how to generate python wrappers

@mhsmith
Copy link
Member

mhsmith commented Nov 20, 2019

Building native packages for Android is a complicated process, so rather than writing a guide, we'd be more likely to open-source our actual build system. We're not ready to do that yet, but I'll update this issue if we do, so please subscribe to it if you're interested.

@mhsmith
Copy link
Member

mhsmith commented Feb 13, 2021

If you want to build Python libraries containing native code, you can use our package build tool, which was used to build everything in the native package repository. It supports many native build tools including Cython, pybind11, Autoconf and CMake, and handles a wide variety of cross-compilation issues.

[EDIT 2022-08] The package build tool is now open-source and is available here.

@mhsmith
Copy link
Member

mhsmith commented Aug 10, 2022

The package build tool is now open-source. See the comment above for details.

@mhsmith mhsmith closed this as completed Aug 10, 2022
@mhsmith mhsmith removed this from the 13.0 milestone Sep 20, 2022
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

No branches or pull requests

1 participant