This release is a pre-release and may not be stable for production use.
zc.buildout recipe for downloading and installing Riak.
[](http://travis-ci.org/biodec/biodec.recipe.riak)
see src/biodec/recipe/biodec/README.txt
Credits
Code from http://pypi.python.org/pypi/rod.recipe.rabbitmq package has been used as a starting point.
A brief documentation
This recipe takes a number of options:
- erlang-path
The path where to find the erlc command (default = find it in your path).
- url
The URL to download the Riak source distribution.
- prefix
Prefix path (default = <buildout directory>).
- cookie
Optional string passed as cookie to the erl runtime (-setcookie)
Tests
We will define a buildout template used by the recipe:
>>> buildout_cfg = """ ... [buildout] ... parts = riakbuild ... offline = true ... ... [riakbuild] ... recipe = biodec.recipe.riak:build ... url = http://s3.amazonaws.com/downloads.basho.com/riak/CURRENT/riak-1.2.0.tar.gz ... ... """
We’ll start by creating a buildout:
>>> import os.path
>>> write('buildout.cfg', buildout_cfg)
Running the buildout gives us:
>>> print system(buildout) Installing riakbuild. ... ==> rel (compile) ==> riakbuild (compile) Compiled src/etop_txt.erl ...
- Re-run buildout:
>>> print system(buildout) Updating riakbuild.
Changes
1.0.0a1 (2012-10-29)
first public release.
Release files for biodec.recipe.riak 1.0.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biodec.recipe.riak-1.0.0a1.zip | 17.0 kB | Details |
Release files / biodec.recipe.riak-1.0.0a1.zip
| Download URL | biodec.recipe.riak-1.0.0a1.zip |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e37ea36734c3460801c7b054b62efbd47630cb6da2f953fda437067af282797c
|
|
BLAKE2b-256 checksum How to use checksums |
bcb2f239d388274085593935856c13367a2a5c62e5b2bee9d1c065022e48afb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |