2006年11月09日 星期四 14:30
ÔÚwindowsÏÂ(¿ØÖÆÌ¨³ÌÐò)ÕâÑù£¬Ð´¸ösetup.pyÈçÏÂ:
-----------------
from distutils.core import setup
import py2exe
setup(
# The first three parameters are not required, if at least a
# 'version' is given, then a versioninfo resource is built from
# them and added to the executables.
version = "0.5.0",
description = "py2exe sample script",
name = "py2exe samples",
# targets to build
console = ["sample.py"],
)
ÔÙÔÚÃüÁîÐÐÏÂÔËÐУº python setup.py py2exe¼´¿É
-----ÓʼþÔ¼þ-----
·¢¼þÈË: python-chinese-bounces在lists.python.cn [mailto:python-chinese-bounces在lists.python.cn] ´ú±í LI WeiMin (SCC-Test)
·¢ËÍʱ¼ä: 2006Äê11ÔÂ9ÈÕ 13:39
ÊÕ¼þÈË: python-chinese在lists.python.cn
Ö÷Ìâ: [python-chinese] Çë½Ìpy2exeµÄÓ÷¨£®
ÏÂÔØÁˣУ٣²£Å£Ø£Å£¬¿É²»ÖªÈçºÎÓõģ¬ÏÖÔÚû·¨ÉÏÍø£¬Íû·½±ãµÄÍøÓѸæÖª£¬ÎÒÖ»ÓÐÒ»¸ö£Ð£ÙÎļþ£ºsample.pyÏ£ÍûÉú³É.exeµÄ¡«
лл
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061109/48b599d7/attachment.html
Zeuux © 2026
京ICP备05028076号