Replies: 3 comments 3 replies
-
See chaquo/chaquopy#810. |
Beta Was this translation helpful? Give feedback.
-
@mhsmith thanks for your reply, from your link, seems cython will build one py file to one so file, if I want to build a python package (may include many python files in a folder) to a single so file, how to do it? I often use Nuitka to do the same thing, not sure how to do it with cython? |
Beta Was this translation helpful? Give feedback.
-
According to nuitka docs, it support many platforms such as Windows, Linux, macOS, Android...., and it can also build code folder to a single so or pyd file which is helpful for code obfuscation, I have test nuitka with briefcase on windows and linux, the build app can works well. When we init a project with briefcase, we will get the code structure as follows, we put all our core code as a python package in the app folder, then we compile them with nutika to a single app.pyd or app.so, and then package with briefcase. The final output as follows Now I'm not sure how to do it for the android app, seems android have some special settings. |
Beta Was this translation helpful? Give feedback.
-
Has anyone ever tried to compile a .py file to a .so file for android? if yes, would u share some experiences,thanks.
Beta Was this translation helpful? Give feedback.
All reactions