Skip to main content

Buildout recipe for downloading and installing a mongodb binary package.

A brief documentation

This recipe takes a number of options:

darwin-32bit-url

The URL to download the 32 bit binary package for the darwin platform.

darwin-64bit-url

The URL to download the 64 bit binary package for the darwin platform.

linux2-32bit-url

The URL to download the 32 bit binary package for the linux platform.

linux2-64bit-url

The URL to download the 64 bit binary package for the linux platform.

Tests

We will define a buildout template used by the recipe:

>>> buildout_cfg = """
... [buildout]
... parts = mongodb
...
... [mongodb]
... recipe = rod.recipe.mongodb
... darwin-32bit-url = http://downloads.mongodb.org/osx/mongodb-osx-i386-0.9.7.tgz
... """

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("downloading mongoDB distribution...\n"): True
... else: print output
True

Changes

1.1.0 2010-04-15

  • copying all MongoDB binaries into the ‘bin’ folder of the buildout environment (ajung)

1.0.1 2009-08-21

  • Removing part before updating.

1.0.0 2009-08-14

  • Initial release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rod.recipe.mongodb-1.1.0.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file rod.recipe.mongodb-1.1.0.tar.gz.

File metadata

File hashes

Hashes for rod.recipe.mongodb-1.1.0.tar.gz
Algorithm Hash digest
SHA256 013a42ef6b9e1827bb225725d007758fbad6fc93928e0cbfe51a900e3065110a
MD5 96a74c342db7a9e6f6f9da5ced3d52f4
BLAKE2b-256 078037accb6e560d2a7a2c176b99db6add1e442f91d93185a546bd1e6a9e22dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page