将整个构建树转换为virtualenv的zc.buildout recipe
rjm.recipe.venv的Python项目详细描述
rjm.配方.venv
这是一个简单的zc.buildout配方,将使用virtualenv 将buildout根转换为沙盒虚拟python的包 环境。它与 gp.recipe.pip,然后可以使用它将python包安装到 已经创建的virtualenv。
支持的选项
Venv_选项:
Extra options that will be used when the virtualenv command is invoked. These should match exactly what would be used on a command line.
地址:
This option can be set to a list of URLs, each of which should point to an archive (tarball, zip, etc.) of a python package which supports simple distutils installation (i.e. ‘python setup.py install’). Each of these packages will be installed into the virtualenv sandbox. This is useful for installing certain older packages that do not work with pip, such as egenix-mx-base.
示例用法
这是一个非常简单的构建文件,它创建了一个没有 站点包和使用分发然后安装egenix mx base 使用distutils和最新版本的塔架及其所有 使用pip的依赖项:
[buildout] parts = venv pip [venv] recipe = rjm.recipe.venv venv_options = --no-site-packages --with-distribute distutils_urls = http://downloads.egenix.com/python/egenix-mx-base-3.1.2.tar.gz [pip] recipe = gp.recipe.pip virtualenv = ${buildout:directory} install = pylons