检查系统依赖关系的构建方法
anybox.recipe.sysdeps的Python项目详细描述
内容
这是一个简单而愚蠢的构建方法来检查系统需求。 它的主要目的是检查对linux和macosx的依赖性,但是 它在windows上的工作将被集成。
Recipe options:
deps:列出所有必需的系统包名称和相应的命令 检查需求的行。
Example buildout:
[buildout] parts = sysdeps [sysdeps] recipe = anybox.recipe.sysdeps deps = PostgreSQL: which pg_dump Redis: which redis-server php5-mysql: dpkg -l php5-mysql
如果redis服务器不可用,则在运行 buildout,告诉你安装redis。 您可以使用任何命令行检查软件包是否已安装。
Changes
0.5 (12-01-2014)
- small relative import fix
- works on python 3
0.4 (01-07-2012)
- Dependency checking is now just a command line to run
0.3 (19-12-2011)
- Moved to mercurial
- (bug) return an iterable instead of None
0.2 (15-10-2011)
- Fixed install recipe and forgotten file
0.1 (06-08-2011)
- Initial naive implementation using ‘which’