2. Installing Boing

2.1. Download

The current version is 0.3.1, released on September 18, 2012. Read the ChangeLog.

Download one of the following depending on your platform:

File Type Py Version Size
boing-0.3.1.tar.gz Source 3.2 702KB
boing-0.3.1.zip Source 3.2 833KB
boing-0.3.1.win32.msi MS Windows MSI installer 3.2 544KB

If you are interested to the development version, you can clone the source repository. Open a terminal and type:

git clone https://github.com/olivopaolo/boing

2.2. Installation

Boing requires the Python 3.2 interpreter (or newer) and the PyQt4 package (a set of Python bindings for Nokia’s Qt application framework). Moreover, it also requires the following Python packages:

Extensive installation instructions are available for the following platforms:

2.3. Tests

After the installation has been completed, it may be useful to run the test suite in order to verify that everything has been correctly installed. In order to do so, type in a terminal:

python3 setup.py test

It is also possible to test only a subset of the Boing‘s modules:

cd <BOING-DIRECTORY>
python3 boing/test/run.py [MODULE [MODULE ...]]

The available modules are: :code:`core`, :code:`filtering`, :code:`gesture`, :code:`net`, :code:`nodes`, :code:`utils`. If no module is specified, all the available modules will be tested.

If you are interested to check the code coverage, you may use the tool called coverage by Ned Batchelder. Once the tool has been installed, you simply have to type:

cd <BOING-DIRECTORY>
coverage run --source boing boing/test/run.py
coverage report -m

Contents

Previous topic

1. Introduction

Next topic

2.2.1. Boing on Ubuntu 12.04