MongoTor supports installation using standard Python “distutils” or “setuptools” methodologies. An overview of potential setups is as follows:
When easy_install or pip is available, the distribution can be downloaded from Pypi and installed in one step:
easy_install mongotor
Or with pip:
pip install mongotor
This command will download the latest version of MongoTor from the Python Cheese Shop and install it to your system.
Otherwise, you can install from the distribution using the setup.py script:
python setup.py install
The version of MongoTor installed can be checked from your Python prompt like this:
>>> import mongotor
>>> mongotor.version