Chaquopy version 1.3.1
This is a minor update to fix issues with non-ASCII text in Python source code (#27).
This is a minor update to fix issues with non-ASCII text in Python source code (#27).
This version focuses on improving Python standard library functionality:
sys.argv
, sys.executable
, and platform.platform()
.sys.stdout
and sys.stderr
are now directed to the Android logcat.It also adds the following feature:
extractPackages
allows code which uses __file__
to work unchanged. It is used by default for certifi.This version adds the following features:
sourceSets
block, just like Java.And fixes the following bugs:
getClass
, when called on a Java object, now returns the Java object class rather than thestatic_proxy
Java files no longer produce build warnings.distutils
and doctest
have been added (#20). For Python 2 apps, this also requiresThe following packages have been added to the repository:
This version adds the following features:
buildPython
can now be Python 2.7 or 3.3+ (#2).python
configuration block can now be specified in product flavors (#6).This version adds the following features:
build.gradle
syntax for calling pip install
has been changed: please see the documentation.And fixes the following bugs:
This version adds the following features:
java.detach
function to allow use of the Python API in background threadsAnd fixes the following bugs:
This version also increases the minimum API level for Chaquopy-based apps from 9 to 15. This is the default for new apps in Android Studio 3.0, and covers 99% of active devices.
This version fixes the following bug:
This version fixes the following bug:
This version significantly improves startup performance. In the demo app, the “Android UI demo” activity now opens more than twice as fast as in version 0.4.0.
This version adds the ability to inherit Java classes and interfaces in Python classes. This means that Python objects can now be instantiated or accessed by non-Python-aware code, making it possible to write an Android app entirely in Python.
For more details, see the documentation. Or for a complete example, see the “Android UI demo” activity in the demo app.