Python 3.7 build ()

* Updated for Python 3.7.1
This commit is contained in:
Akinwale Ariwodola 2018-12-27 09:04:21 +01:00 committed by GitHub
commit 9a567ff5d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
335 changed files with 141279 additions and 35 deletions
p4a/pythonforandroid/bootstraps/lbry/build/src/main/java/org/kivy/android

View file

@ -17,6 +17,7 @@ public class PythonUtil {
"python2.7",
"python3.5m",
"python3.6m",
"python3.7m",
"main"
};
}
@ -36,7 +37,7 @@ public class PythonUtil {
// If this is the last possible libpython
// load, and it has failed, give a more
// general error
if (lib.startsWith("python3.6") && !foundPython) {
if (lib.startsWith("python3.7") && !foundPython) {
throw new java.lang.RuntimeException("Could not load any libpythonXXX.so");
}
continue;
@ -49,7 +50,7 @@ public class PythonUtil {
} catch(UnsatisfiedLinkError e) {
Log.v(TAG, "Failed to load _io.so or unicodedata.so...but that's okay.");
}
try {
// System.loadLibrary("ctypes");
System.load(filesDirPath + "/lib/python2.7/lib-dynload/_ctypes.so");