Comprehensive tutorial on Pyinstaller?

documentation, pyinstaller, python

Solution

Both guides in the accepted answer seem outdated. PyInstaller now provides an executable script that allows you to do

pyinstaller your_script.py

wherever `your_script.py` is located - instead of the old mode of copying your `your_script.py` to wherever you copied the source code of PyInstaller.

Here's a brief, more recent guide that walks you through a simple Hello World example:

http://www.pythoncentral.io/pyinstaller-package-python-applications-windows-mac-linux/

Problem

I'm looking for a tutorial on PyInstaller that will explain things like - how to create .pkg files - how to include/exclude modules - how to include data files inside the install directory. I cannot make much sense out of the standard PyInstaller documentation.

Original source