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.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rod.recipe.mongodb-1.0.0.tar.gz.
File metadata
- Download URL: rod.recipe.mongodb-1.0.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a5a69c47bf86d569a1cd2736d00e96d19b8c7fece7ef66ae4c39deaeaf91f99
|
|
| MD5 |
1676439442b7fb334c530a50ecc1136a
|
|
| BLAKE2b-256 |
341b8c5bb870a6d27ece7a0decffe3b70f30945490745a596e6dcac532cd16b2
|
File details
Details for the file rod.recipe.mongodb-1.0.0-py2.5.egg.
File metadata
- Download URL: rod.recipe.mongodb-1.0.0-py2.5.egg
- Upload date:
- Size: 8.7 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7811d66a213e03f7e5cfd47096a4d9a21fb6f9fac0cfdaae81c8121c45e92aa4
|
|
| MD5 |
d357e431113927a2778f25e92ecb7111
|
|
| BLAKE2b-256 |
556b939da4e750c1a11cf7f960ca477106761d7ef038e3d0f9f161ac6984dc01
|