zc buildout recipe用于构建和安装ejabber。
rod.recipe.ejabberd的Python项目详细描述
Ejabberdhttp://www.process-one.net/en/ejabberd/是分布的, 允许创建大规模即时消息的容错技术 消息传递应用程序。这个构建配方下载并安装ejabberd 进入一个孤立的开发环境。
简要文档
这个食谱有很多选择:
- erlang路径
- 查找erlc命令的路径(默认值为/usr/local/bin)。
- 网址
- 下载ejabberd源发行版的URL。 前缀
- 前缀路径(默认值=<;buildout directory>;)。
- 制作
- 备用make命令(例如gmake)。
测试
我们将定义配方使用的构建模板:
>>> buildout_cfg = """ ... [buildout] ... parts = ejabberd ... offline = true ... ... [ejabberd] ... recipe = rod.recipe.ejabberd ... url = http://www.process-one.net/downloads/ejabberd/2.1.6/ejabberd-2.1.6.tar.gz ... """
我们将从创建构建开始:
>>> import os.path >>> write('buildout.cfg', buildout_cfg)
运行构建会给我们带来:
>>> output = system(buildout) >>> if '/sample-buildout/parts/ejabberd' in output: True ... else: print output True
更改
1.1.4 2011-04-13
- Added ‘make’ buildout option to specify an alternate make command (e.g. gmake).
1.1.3 2010-05-09
- Fixed issue where ejabberd scripts used an incorrect default Erlang path when no erlang-path option was specified.
1.1.2 2009年10月13日
- Modified ejabberd startup command to run server in foreground.
1.1.1 2009年10月13日
- Fixes an issue where ejabberd crashes on startup due to a missing directory.
1.1.0 2009年10月13日
- Creates custom ejabberd and ejabberdctl scripts.
1.0.0 2009年10月10日
- Initial release.