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 rod.recipe.rabbitmq

How to install rod.recipe.rabbitmq

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install rod.recipe.rabbitmq
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2.0.0 Available View build log
1.1.7 Available View build log
1.1.6 Available View build log
Windows (64-bit)
2.0.0 Available View build log
1.1.7 Available View build log
1.1.6 Available View build log
Mac OS X (10.5+)
2.0.0 Available View build log
1.1.7 Available View build log
1.1.6 Available View build log
Linux (32-bit)
2.0.0 Available View build log
1.1.7 Available View build log
1.1.6 Available View build log
Linux (64-bit)
2.0.0 Available View build log
1.1.7 Available View build log
1.1.6 Available View build log
 
License
LGPL 3
Imports
Lastest release
version 2.0.0 on May 19th, 2011

Buildout recipe for downloading and installing RabbitMQ.

Credits

Thanks to Martijn Pieters for refactoring script generation to ensure that we always use an appropriate rabbitmq-server script for the installed version.

A brief documentation

This recipe takes a number of options:

erlang-path The path where to find the erlc command (default = find it in PATH).

url The URL to download the RabbitMQ source distribution.

cookie Optional string passed as cookie to the erl runtime (-setcookie).

make Alternate make command (e.g. gmake).

To further customize your RabbitMQ server configuration, create a rabbitmq-env file in the etc/ directory of your buildout, following the RabbitMQ configuration guide to set environment variables.

You can also create a rabbitmq.config file in the same location to provide erlang configuration statements.

Tests

We will define a buildout template used by the recipe:

>>> buildout_cfg = """
... [buildout]
... parts = rabbitmq
... offline = true
...
... [rabbitmq]
... recipe = rod.recipe.rabbitmq
... url = http://www.rabbitmq.com/releases/rabbitmq-server/v2.4.1/rabbitmq-server-2.4.1.tar.gz
... """

We'll start by creating a buildout:

>>> import os.path
>>> write('buildout.cfg', buildout_cfg)

Running the buildout gives us:

>>> output = system(buildout)
>>> if output.endswith("ebin ebin/rabbit.app < ebin/rabbit_app.in\n"): True
... else: print output
True

Changes

2.0.0 2011-05-18
  • Uses the buildout download cache if available.
  • Refactored script generation: reuses the existing scripts and customize

System Message: WARNING/2 (<string>, line 86)

Bullet list ends without a blank line; unexpected unindent.

them using the built-in rabbitmq-env sourcing option. This ensures we always use an appropriate rabbitmq-server script for the installed version.

  • Abandoned obsolete prefix buildout option.
  • Updated documentation.
1.1.7 2011-04-11
  • Added 'make' buildout option to specify an alternate make command

System Message: WARNING/2 (<string>, line 98)

Bullet list ends without a blank line; unexpected unindent.

(e.g. gmake).

1.1.6 2010-06-21

System Message: WARNING/2 (<string>, line 105)

Bullet list ends without a blank line; unexpected unindent.

the database across machines independent of the hostname since you can not start RabbitMQ on a different machine with a different hostname (the database is tied to the hostname).

1.1.5 2010-06-21
  • Added support for setting an optional erlang cookie (-setcookie)

System Message: WARNING/2 (<string>, line 114)

Bullet list ends without a blank line; unexpected unindent.

through the 'cookie' option.

1.1.4 2010-05-09
  • Fixed issue where rabbitmq scripts used an incorrect default Erlang path

System Message: WARNING/2 (<string>, line 121)

Bullet list ends without a blank line; unexpected unindent.

when no erlang-path option was specified.

1.1.3 2010-05-03
  • Fixed parameter in generated rabbitmqctl script (-sname instead of -name).
1.1.2 2010-05-02
  • Fixed parameter in generated rabbitmq-server script (-sname instead

System Message: WARNING/2 (<string>, line 134)

Bullet list ends without a blank line; unexpected unindent.

of -name).

1.1.1 2010-03-21
  • Fixes an issue where the Erlang path wasn't set correctly.
1.1.0 2010-03-20
  • Updated for RabbitMQ 1.7.2.
1.0.0 2009-08-23
  • Initial release.

Subscribe to package updates

Last updated May 19th, 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.