setup.py

来自「Wxpython Implemented on Windows CE, Sou」· Python 代码 · 共 26 行

PY
26
字号
# A distutils script to make a standalone .exe of superdoodle for
# Windows platforms.  You can get py2exe from
# http://py2exe.sourceforge.net/.  Use this command to build the .exe
# and collect the other needed files:
#
#       python setup.py py2exe
#


import sys, os
from distutils.core import setup
import py2exe

if sys.platform == "win32" and sys.version_info > (2, 4):
    DATA =  [("", os.path.join(sys.exec_prefix, 'msvcr71.dll'))]
else:
    DATA = []
    

setup( name = "superdoodle",
       #console = ["superdoodle.py"]
       windows = ["superdoodle.py"],
       data_files = DATA,
       )

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?