Re: 小项目:dell遥控器精灵―― ―― 是用PY2EXE打包成一个文件
"faitherq" <faitherq-9Onoh4P/[email protected]>
| Newsgroups | gmane.comp.python.chinese |
|---|---|
| Message-ID | <[email protected]> |
是用PY2EXE打包成一个文件
from distutils.core import setup
import py2exe
includes = ["encodings", "encodings.*"]
options = {"py2exe":
{ "compressed": 1,
"optimize": 2,
"includes": includes,
"bundle_files": 1 # ‘注意这里’
}
}
setup(
console = [{"script": "readkiller.py", "icon_resources": [(1, "strtool.ico")] }], #文件名
#console=['hello.py'],
version = "0.1.0",
options = options,
zipfile=None,
)
2008-01-17
faitherq
发件人: pt42
发送时间: 2008-01-17 09:50:13
收件人: [email protected]
抄送:
主题: Re: [python-chinese]小项目:dell遥控器精灵
是用PY2EXE打包成一个文件吗?求setup.py写法
在 08-1-17,fluke.l <[email protected] > 写道:
>
> 我也有遥控器。晚上回去试试。
>
> 更感兴趣的是pyhook模块和你的代码,哈。谢谢提供了这么好的项目。
>
>
> 2008-01-17 ________________________________
>
> fluke.l ________________________________
>
> 发件人: flyaflya
> 发送时间: 2008-01-16 23:10:10
> 收件人: [email protected]
> 抄送:
> 主题: [python-chinese]小项目:dell遥控器精灵
> 用遥控器控制鼠标,用的是pyhook模块。
> http://sourceforge.net/projects/dell
>
> --
> http://www.flyaflya.com
> _______________________________________________
> python-chinese
> Post: send [email protected]
> Subscribe: send subscribe to
> [email protected]
> Unsubscribe: send unsubscribe to
> [email protected]
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese