Getting Started

Install

Wheezy Captcha requires python version 2.4 to 2.7 or 3.2+. It is operating system independent. You can install it from the pypi site using setuptools (you need to specify an extra requirements per the imaging library of your choice):

$ easy_install wheezy.captcha
$ easy_install wheezy.captcha[PIL]
$ easy_install wheezy.captcha[Pillow]

If you are using virtualenv:

$ virtualenv env
$ env/bin/easy_install wheezy.captcha

Develop

You can get the source code using mercurial:

$ hg clone http://bitbucket.org/akorn/wheezy.captcha
$ cd wheezy.captcha

Prepare virtualenv environment in env directory

$ make env

... and run all tests:

$ make test

You can read how to compile from source code different versions of python in the article published on mind reference blog.

You can run certain make targets with a specific python version. Here we are going to run doctest with python3.2:

$ make env doctest-cover VERSION=3.2

Generate documentation with sphinx:

$ make doc

If you run into any issue or have comments, go ahead and add on bitbucket.

Table Of Contents

Previous topic

Wheezy Captcha

Next topic

Examples

This Page