Installation

Supported Installation Methods

Asyncmongo-ORM supports installation using standard Python “distutils” or “setuptools” methodologies. An overview of potential setups is as follows:

  • Plain Python Distutils - Asyncmongo-ORM can be installed with a clean Python install using the services provided via Python Distutils, using the setup.py script.
  • Standard Setuptools - When using setuptools, Asyncmongo-ORM can be installed via setup.py or easy_install.
  • Distribute - With distribute, Asyncmongo-ORM can be installed via setup.py or easy_install.
  • pip - pip is an installer that rides on top of setuptools or distribute, replacing the usage of easy_install. It is often preferred for its simpler mode of usage.

Note

It is strongly recommended that either setuptools or distribute be installed. Python’s built-in distutils lacks many widely used installation features.

Install via easy_install or pip

When easy_install or pip is available, the distribution can be downloaded from Pypi and installed in one step:

easy_install asyncmongororm

Or with pip:

pip install asyncmongororm

This command will download the latest version of Asyncmongo-ORM from the Python Cheese Shop and install it to your system.

Installing using setup.py

Otherwise, you can install from the distribution using the setup.py script:

python setup.py install

Checking the Installed Asyncmongo-ORM Version

The version of Asyncmongo-ORM installed can be checked from your Python prompt like this:

>>> import asyncmongoorm
>>> asyncmongoorm.__version__ 
'0.3.2'

Requirements

The following three python libraries are required.

Note

The above requirements are automatically managed when installed using any of the supported installation methods