PYTHON模块之PY2EXE

#-*- encoding:utf-8 -*-
from distutils.core import setup
import py2exe
options = {"py2exe":{"compressed": 1,"optimize": 2,"bundle_files": 3,"dll_excludes":["MSVCP90.dll"]}}
setup(name = "sample",version = "1.0",options = options,zipfile=None,windows=[{"script": "wxtest.py"}])



http://hi.baidu.com/%D5%D4%B7%F6%B7%E7/blog/item/be031d8f8b6131e6513d92ce.html



你可能感兴趣的:(windows,python,dll,exe,import,encoding)