How to create numpy for Py4A?

As you already understood, I cannot build numpy as a module for Py4A. Here is the instruction, but I still can not do it. I installed Toolchain because I downloaded Android NDK and entered these 3 bash commands.

Here's a screenshot in the numpy folder. I do not know what to do next.

+6
source share
1 answer

If you installed the py4a module, add

from py4a import patch_distutils patch_distutils() 

to setup.py , add setup.cfg and now:

 python setup.py configure python setup.py build 
+1
source

Source: https://habr.com/ru/post/926105/


All Articles