py2exe 打包成windows 无法运行

py脚本如下:
print 'hello world'
raw_input('press enter key to exit')

setup.py如下
from distutils.core import setup
import py2exe

options = {"py2exe":
{"compressed":1,
"optimize":2,
"bundle_files":1
}
}

setup(
options=options,
data_files=[],
zipfile=None,
windows = ['hello.py']
)

 为什么setup里console=['hello.py']替换为windows=['hello.py']
 生成的exe报错,报错如下
 Traceback (most recent call last):

File "hello.py", line 3, in
EOFError: EOF when reading a line

http://carrot1983.blog.sohu.com/106071987.html
把setup写在import py2exe后面看看