Getting Started


Wheezy HTML 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:

$ easy_install wheezy.html

If you are using virtualenv:

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

If you would like to benefit from template preprocessing for Jinja2, Mako, Tenjin or Wheezy, you can specify the template engine as extra requirement:

$ env/bin/easy_install wheezy.html[jinja2]
$ env/bin/easy_install wheezy.html[mako]
$ env/bin/easy_install wheezy.html[tenjin]
$ env/bin/easy_install wheezy.html[wheezy.template]


You can get the source code using mercurial:

$ hg clone
$ cd wheezy.html

Prepare virtualenv environment in env directory

$ make env

... and run all tests:

$ make test

You can read how to compile different versions of python from source code, 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 issues or have comments, go ahead and add them on bitbucket.

Table Of Contents

Previous topic

Wheezy HTML

Next topic


This Page