Название: Packaging Python Applications with PyInstaller: The hands-on guide to distributable Python apps Автор: Martin Fitzpatrick Издательство: Independently published Год: 2022-06-04 (v.1.0) Страниц: 170 Язык: английский Формат: pdf (true), epub (true) Размер: 10.2 MB
There is not much fun in creating your own applications if you can't share them with other people, whether publishing it commercially or sharing it online. Distributing your apps allows other people to benefit from your hard work! Unfortunately, packaging Python applications can sometimes be hard work. In this book I walk you step-by-step through the process of packaging your own Python applications. Starting with simple examples and working up to complete installers and signed executables. I've been packaging Python applications for years — honestly, it feels longer. With this book you get the benefit of that experience & save yourself the pain.
PyInstaller is a cross-platform packaging system which supports building desktop applications for Windows, macOS and Linux. It automatically handles packaging of your Python applications, along with any associated libraries and data files, either into a standalone one-file executable or a distributable folder you can then use to create an installer.
If you already have your own application you want to package I would still recommend working through these initial examples first. Otherwise, when something goes wrong you won’t know where the problem is. There are a huge number of different Python GUI frameworks which you may be using to develop your apps. I use PyQt almost exclusively, but you may not — and it’s easier to follow code if you’re already familiar with the libraries being used. For that reason, I’ve included example code for 5 of the most popular Python GUI libraries below — PyQt6, Tkinter, wxPython, PySimpleGUI and Kivy — throughout the book when introducing new examples. The source code downloads with the book also include examples for PyQt5, PySide6 and PySide2 — giving you 8 options in total.
Скачать Packaging Python Applications with PyInstaller: The hands-on guide to distributable Python apps
|