Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install rjm.recipe.venv

How to install rjm.recipe.venv

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install rjm.recipe.venv
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.8 Available View build log
Windows (64-bit)
0.8 Available View build log
Mac OS X (10.5+)
0.8 Available View build log
Linux (32-bit)
0.8 Available View build log
Linux (64-bit)
0.8 Available View build log
 
Author
License
MIT
Imports
Lastest release
version 0.8 on Jan 5th, 2011

rjm.recipe.venv

This is a simple zc.buildout recipe that will use the virtualenv package to turn the buildout root into a sandboxed virtual python environment. It is especially useful in conjunction with gp.recipe.pip, which can then be used to install python packages into the virtualenv that has been created.

Supported Options

venv_options:

Extra options that will be used when the virtualenv command is invoked. These should match exactly what would be used on a command line.

distutils_urls:

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.

Example Usage

This is a very simple buildout file that creates a virtualenv with no site packages and using distribute. It then installs egenix-mx-base using distutils, and the latest version of Pylons and all of its dependencies using pip:

[buildout]

System Message: ERROR/3 (<string>, line 39)

Inconsistent literal block quoting.

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

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.