chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
749 stars 128 forks source link

Is it possible to target desktop JVM with Chaquopy? #1062

Open IsakTheHacker opened 6 months ago

IsakTheHacker commented 6 months ago

Does Chaquopy support targeting standard JVM for desktop platforms (Linux, Windows, Mac) using Compose Multiplatform?

mhsmith commented 6 months ago

Chaquopy's has some limited support for desktop platforms to allow rapid testing of the Java language interface (see the testPython and testJava tasks in product/runtime/build.gradle), though in practice the only platform I test is the one I develop on – currently Mac.

However, I'm reluctant to support this for production use, because it would be a large support burden to deal with all the enviromental issues of user-supplied JVMs, as the PyJNIus issue tracker shows.

So I think a better long-term goal would actually be to merge Chaquopy's language interface back into PyJNIus (from which it was originally forked), so that both projects could combine their resources in this area.