Using PyInstaller to create exe

python pyinstaller.py --icon c:\temp\image.ico --onefile c:\temp\pythonscript.py