防删备份 - -
from distutils.core import setup
import py2exe
import sys
sys.argv.append('py2exe')
py2exe_options = {
"includes": ["sip"],
"dll_excludes": ["MSVCP90.dll", ],
"compressed": 1,
"optimize": 2,
"ascii": 0,
"bundle_files": 2}
setup(
name='云慧辅助',
version='1.1',
windows=['yunhui.py', ], #windows改成console带DOS输出
zipfile=None,
options={'py2exe': py2exe_options},
)