I made a simple interface using PyQt and now I'm trying to deliver an executable using py2exe.
The following setup.py
script works fine:
from distutils.core import setup
import py2exe
setup(console=['main.py'], options={"py2exe":{"includes":["sip"]}})
but when I use windows=[]
instead of console=[]
I get the error: [WinError87] The parameter is incorrect
.
Is there an easy solution to this problem so I don't have to use the console.
By the way I'm running py2exe version 0.9.2.2, Python 3.4, Python User Interface Compiler 4.11.3 for Qt version 4.8.6.
Hope someone can help, thanks!