System Setup
I am using python 3.13.14 on a Windows 11 device. I am running the commands from a PowerShell 7 terminal in a fresh virtual environment made with venv. I have installed python-third-party-license-file-generator (and all other packages) with pip (version 26.1.2).
Issue
I am trying to generate a third party licenses file for an environment where I use pyinstaller. As I understand, pyinstaller has an exception to the GPL clause that you can include any executable generated by their code without the GPL restrictions, which is what I am trying to do.
However, when I include -x pyinstaller in the command to generate the third party licenses file and ignore pyinstaller's GPL license, it still includes it as normal and triggers the GPL error without finishing the script. I believe I am using the command correctly, because I tried installing another GPL package (pyqt6) and was able to successfully ignore it by passing -x pyqt6 as expected.
The specific line of output regarding pyinstaller is this:
GPL-2.0 <---- !!! WARNING: you have specified not to permit GPL licenses but AGPL/GPL-licensed packages were detected
'pyinstaller' by 'Hartmut Goebel, Giovanni Bajo, David Vierra, David Cortesi, Martin Zibricky' ('https://pyinstaller.org')
Steps to Recreate
- Create a fresh virtual environment:
python -m venv Test_Env
- Activate the new environment:
Test_Env\Scripts\activate
- Install pyinstaller and third-party-license-file-generator:
pip install pyinstaller third-party-license-file-generator
- Create requirements file:
pip freeze > requirements.txt
- Attempt to generate third party licenses file and above error message should occur:
python -m third_party_license_file_generator -r requirements.txt -p Test_Env\Scripts\python -x pyinstaller
Any help would be greatly appreciated, I am sure I'm just doing something wrong as I'm somewhat new to this. In the meantime I am just not including GPL licenses in the search because pyinstaller is the only one that I use.
System Setup
I am using python 3.13.14 on a Windows 11 device. I am running the commands from a PowerShell 7 terminal in a fresh virtual environment made with
venv. I have installed python-third-party-license-file-generator (and all other packages) with pip (version 26.1.2).Issue
I am trying to generate a third party licenses file for an environment where I use pyinstaller. As I understand, pyinstaller has an exception to the GPL clause that you can include any executable generated by their code without the GPL restrictions, which is what I am trying to do.
However, when I include
-x pyinstallerin the command to generate the third party licenses file and ignore pyinstaller's GPL license, it still includes it as normal and triggers the GPL error without finishing the script. I believe I am using the command correctly, because I tried installing another GPL package (pyqt6) and was able to successfully ignore it by passing-x pyqt6as expected.The specific line of output regarding pyinstaller is this:
Steps to Recreate
python -m venv Test_EnvTest_Env\Scripts\activatepip install pyinstaller third-party-license-file-generatorpip freeze > requirements.txtpython -m third_party_license_file_generator -r requirements.txt -p Test_Env\Scripts\python -x pyinstallerAny help would be greatly appreciated, I am sure I'm just doing something wrong as I'm somewhat new to this. In the meantime I am just not including GPL licenses in the search because pyinstaller is the only one that I use.