![]() INFO: Using Python library c:\users\gebruiker\appdata\local\programs\python\python37\python37.dll INFO: Including run-time hook 'pyi_rth_pyQt6.py' INFO: Loading module hook "hook-PyQt6.py". INFO: Loading module hook "hook-pydoc.py". ![]() INFO: Loading module hook "hook-encodings.py". INFO: Analyzing U:\home\martin\helloworld\app.py Required by c:\users\gebruiker\appdata\local\programs\python\python37\python.exe INFO: Adding -Controls to dependent assemblies of final executable INFO: Initializing module dependency graph. INFO: Building Analysis because Analysis-00.toc is non existent INFO: wrote U:\home\martin\helloworld\app.spec Whatever project you're working on, you should be able to package your apps.īash U:\home\martin\helloworld>pyinstaller app.py ![]() PyInstaller works out of the box with PyQt6 and as of writing, current versions of PyInstaller are compatible with Python 3.6 . If you're impatient, you can download the Example Installer for Windows first. app you need to do this on a Mac, for an EXE you need to use Windows. You always need to compile your app on your target system. We finish off by using InstallForge to create a distributable Windows installer. You can choose to follow it through completely, or skip ahead to the examples that are most relevant to your own project. This tutorial is broken down into a series of steps, using PyInstaller to build first simple, and then increasingly complex PyQt6 applications into distributable EXE files on Windows. In this tutorial we'll look at the most popular tool for packaging Python applications: PyInstaller. The good news is there are tools available to help you do just that with your Python applications which work well with apps built using PyQt6. Sharing your apps allows other people to benefit from your hard work! There is not much fun in creating your own desktop applications if you can't share them with other people - whether than means publishing it commercially, sharing it online or just giving it to someone you know.
0 Comments
Leave a Reply. |