GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)