Creating recipe for python library created by pybind11

14 views
Skip to first unread message

Konstantinos Stavratis

unread,
Oct 25, 2023, 7:40:05 PM10/25/23
to Python For Android
Hello everyone,

first of all, I would like to admit that I am a beginner with regards to understanding how to use python-for-android. I have been reading the documentation, as well as reading around other certified recipes (e.g. numpy, opencv, pygame, pybind11) for reference, but I'm still confused as to how the recipe would be structured.

My goal is to create a python application which is going to be using an external library, which in turn is compiled using pybind11. The instructions as to how to build it in C++ are pretty straightforward and are provided in the README.md of the repository. The only thing required after its compilation is to call the setup.py file created
NOTE: The documentation of the external library (ELSED) mentions how to incorporate itself using pure pip commands. However, I wish to avoid this, since I might locally change the code.
Given the characteristics of this process, I have identified (I think) that my recipe should inherit from  CompiledComponentsPythonRecipe. That being said, I am perplexed as to how to formulate the procedure in the  . Any help would be appreciated.

Thank you for any help in advance.


Reply all
Reply to author
Forward
0 new messages