achille-martin / pyqt-crom

Create cross-platform apps (Android for now) using only Python and the Qt Framework (PyQt5 for now).
MIT License
25 stars 2 forks source link

Feature: build packaged python app #5

Closed achille-martin closed 11 months ago

achille-martin commented 11 months ago

Currently, the apps built are only written in a unique .py file.

However, to truly embrace python functionalities, apps should get built from whole python packages.

achille-martin commented 11 months ago

The .pdy file should be able to handle application scripts (main file) and application packages (with entry point).

achille-martin commented 11 months ago

It might be possible to set the app name from the .pdy rather than changing all names all the time.

achille-martin commented 11 months ago

A setup has been attempted with config-app-pkg.pdy, and the .apk generated seems to work well.

Link for tutorial at: https://docs.huihoo.com/pyqt/pyqtdeploy/tutorial.html

Tip: as a prototyping procedure, you can replace the .pdy in build-app.py with config-app-pkg.pdy.

achille-martin commented 11 months ago

Tackled in this issue.