Closed cocpy closed 5 years ago
diff --git a/setupext.py b/setupext.py index fc82d5d..2067db0 100644 --- a/setupext.py +++ b/setupext.py @@ -1004,10 +1004,10 @@ class Numpy(SetupPackage): ext.define_macros.append(('__STDC_FORMAT_MACROS', 1))
def get_setup_requires(self):
return ['numpy==1.16.4'] # to match p4a's target version
def get_install_requires(self):
return ['numpy==1.16.4'] # to match p4a's target version
class LibAgg(SetupPackage): @@ -1443,9 +1443,10 @@ class BackendAgg(OptionalBackendPackage):
class BackendTkAgg(OptionalBackendPackage): name = "tkagg"
force = False
def check(self):
raise CheckFailed("Disabled by patching during Android build") # tk doesn't work on Android but causes build problems return "installing; run-time loading from Python Tcl / Tk"
def get_extension(self):
oh ,I change the file /root/word/.buildozer/android/platform/build/build/other_builds/matplotlib-python3/armeabi-v7a__ndk_target_21/matplotlib/setupext.py as the patch expected,it worked!!! I hope the python-for-android developer will pay attention to it as quickly as possible.
Sorry,The error won't happen when I don't specify version number of matplotlib.
@cocpy which lines in setupext.py you have channged?? plz let me know because i am also getting this issue
I agree. It's in English and yet it's not English. It's confusing as anything. I wonder if I just never learned to speak English properly. He said, "Oh I change the file...", and he listed the path for setupext.py and said, "...as the patch expected." Okay could you give us some details PLEASE! Like What exactly did the Patch expect? and What exactly did you change from what to what that suddenly worked? It sure would be helpful if some of these "solutions" were a little more detailed and helpful.
Versions
Description
I am trying to package an apk with buildozer.
buildozer.spec
Command:
Spec file:
Logs
<--
-->