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]
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
Metadata
Release files for rjm.recipe.venv 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rjm.recipe.venv-0.8.tar.gz | 4.2 kB | Without provenance | Details for rjm.recipe.venv-0.8.tar.gz |
Release files / rjm.recipe.venv-0.8.tar.gz
| Download URL | rjm.recipe.venv-0.8.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
251cfc704bcf75bc1c471ed7207762bda70e1024acd538198e0a428a17eb0433
|
|
BLAKE2b-256 checksum How to use checksums |
6ab94e5b8b52f70b41d8776985a080949014015bfa150c5fdd1676095ebdca3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rjm.recipe.venv 0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.