pyinstaller ^ -y ^ --additional-hooks-dir=. ^ --hidden-import=packaging ^ --hidden-import=packaging.version ^ --hidden-import=packaging.specifiers ^ --hidden-import=packaging.requirements ^ -w ^ --onefile ^ --name MagneticTrap ^ --icon Household-Mouse-Trap.ico ^ run_magnetic_trap.py