py2exe

阅读更多
from distutils.core import setup
import py2exe
setup(console=["E:\\PyWk\\nodepad_py\\wxpython\\1\\Spare.py"], options={"py2exe":{"dll_excludes":["MSVCP90.dll"]}})



# mysetup.py 
from distutils.core import setup 
import glob 
import py2exe 
 
setup(console=["helloworld.py"], 
      data_files=[("bitmaps", 
                   ["bm/large.gif", "bm/small.gif"]), 
                  ("fonts", 
                   glob.glob("fonts\\*.fnt"))], 
) 

你可能感兴趣的:(wxPython,Python)