![]() ![]() Since it has a UI, you use the –windowed option. PyInstaller is available as a regular Python package. PyInstaller has been used successfully with AIX, Solaris, FreeBSD and OpenBSD, but is not tested against them as part of the continuous. However, it is not a cross-compiler: to make a Windows app you run PyInstaller in Windows to make a GNU/Linux app you run it in GNU/Linux, etc. Some of the recipes there include: A more sophisticated way of collecting data files than the one shown above ( Adding Files to the Bundle ). Code examples for some advanced uses and some common problems are available on our PyInstaller Recipes page. PyInstaller gives you the ability to create a folder or executable that users can immediately run without any extra installation. hello )) if _name_ = "_main_" : app = QApplication ( sys. PyInstaller is tested against Windows, macOS, and GNU/Linux. The PyInstaller FAQ page has work-arounds for some common problems. button = QPushButton ( "Click me!" ) self. It is a simpler solution than PyInstaller, but also supports the following three major platforms: Windows Linux macOS Documentation for cxFreeze can. Import sys import random from PySide2.QtWidgets import ( QApplication, QLabel, QPushButton, QVBoxLayout, QWidget ) from PySide2.QtCore import Slot, Qt class MyWidget ( QWidget ): def _init_ ( self ): QWidget.
0 Comments
Leave a Reply. |