Downloading Couchdbkit
This is a manual for installing Couchdbkit and its dependencies.
1. Installing CouchDB
Couchdbkit requires couchdb 0.10 or later to use it.
To install Couchdb follow the documentation on CouchDB wiki .
2. Installing Couchdbkit
Couchdbkit requires python2.5x/2.6x to work. python 3.x will be supported soon.
2.1 Installing with easy_install
To install Couchdbkit using easy_install you must make sure you have a recent version of setuptools installed (as of this writing, 0.6c6 (0.6a9 on windows) or later):
$ curl -O http://peak.telecommunity.com/dist/ez_setup.py $ sudo python ez_setup.py -U setuptools
To install or upgrade to the latest released version of Couchdbkit:
$ sudo easy_install -U Couchdbkit
2.2 Installing from source
To install Couchdbkit from source, simply use the normal procedure for installing any Python package. Since Couchdbkit uses setuptools, all dependencies (including setuptools itself) will be automatically acquired and installed for you as appropriate.
Fetch sources
You could download latest sources from Github Downloads
Or fetch them with hg. Therefore we have to install git and then run :
$ git clone git@github.com:benoitc/couchdbkit.git
install Couchdbkit
$ python setup.py install
If you’re using a hg clone, it’s recommended to use the setuptools develop command, which will simply activate Couchdbkit directly from your source directory. This way you can do a hg fetch or make changes to the source code without re-installing every time:
$ python setup.py develop
3. Install requirements
If you don’t use python 2.6x or want to use a faster solution, you will need to install a json serializer. Supported json serializers are : cjson, jsonlib2, jsonlib, simplejson, and django.utils.json.
To install simplejson :
$ easy_install simplejson