Packaging command
# Install packaging toolspip install pyinstaller# Package the dependency information file of the projectpip freeze > reqirements.txt# Front-end packaging, a black box will pop up when runningpyinstaller -D python-file# run packaging in the backgroundpyinstaller -D python file -w
Note: The package is a folder, and the configuration files will not be packaged at the same time. If there is a related project configuration file, remember to manually add it to the packaged folder.