摘要: 为了使所有的包遵循相同的结构,通过一个代码生成工具来抽取盒提供通用的代码模板。这个方法被称为产生式编程。 在python社区中,最常用的是python paste。 python paste中包含了多个工具,我们需要的是PasteScript,可以使用easy_install来安装它。 easy_i... 阅读全文
posted @ 2012-09-06 16:54 jianhong 阅读(857) 评论(0) 推荐(0)
摘要: 编写setup.py文件,获取帮助:python setup.py --help-commandsStandard commands: build build everything needed to install build_py "build" p... 阅读全文
posted @ 2012-09-06 16:09 jianhong 阅读(2613) 评论(0) 推荐(1)