[PY QT APP]HOW TO uniform build and distribution for different platforms - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [PY QT APP]HOW TO uniform build and distribution for different platforms (/thread-40322.html) |
[PY QT APP]HOW TO uniform build and distribution for different platforms - djibb - Jul-10-2023 Hi, I maintain an pyQt6 + Opencv application which works under Linux and Windows. Actually, we have : under Linux : -> deb installer (guy one in charge) -> rpm installer (other guy) -> tar.gz installer (other guy) -> Aur (other Guy) Under Windows : (another guy, that have a special VM to do this) -> a cxfreeze protocol -> a cleaning (down from 200 MB to 80 MB by suppressing duplicate libs) -> then an innosetup script BUT... we are lucky : since a couple of week, we can install our application with pip ! Is there a way to standardize installation procedure on Linux or windows ? Under Linux, somthing like : 1) pip install 2) make a script in PATH that launch __init__.py Under Windows... the same ? But we don't really know this platform Does someone has a solution for our problem : How to standardize deploy under all Linuxes and windows as we have a wheel ? RE: [PY QT APP]HOW TO uniform build and distribution for different platforms - Larz60+ - Jul-11-2023 you should read up on packaging. you can start with Software Packaging and Distribution |