permon icon indicating copy to clipboard operation
permon copied to clipboard

Consider compiling permon

Open bminixhofer opened this issue 5 years ago • 1 comments

permon could be compiled using pyqtdeploy or pyinstaller. pyqtdeploy looks like the better choice if we stay with Qt in the native frontend because you can manually include all needed parts of PyQt with it. PyInstaller would package the whole PyQt package.

At the moment, the user needs to have Python 3 installed, and needs a couple of python modules. PySide2, for example, is over 100MB large. It would definitely be good if we could package those. It would also probably bring a performance improvement. The problem is that that would make the user not able to add custom stats anymore. That is an important feature so the next step is investigating if it is possible to compile a python module but still import .py files from it without recompiling.

bminixhofer avatar Oct 14 '18 06:10 bminixhofer

This issue is (more or less) solved by only listing generally needed packages as the requirements for pip. The user is then prompted to install frontend-specific packages once he launches that frontend for the first time. The points I originally made in this issue are however still valid so I will keep this issue open for discussion.

bminixhofer avatar Dec 04 '18 14:12 bminixhofer