Find file
532951a Feb 3, 2014
26 lines (16 sloc) 769 Bytes

Bootstrap manual for developers

Dependencies: tox, nose


For testing we are using tox virtualenv-based Python version testing and nose as test framwork.

Tox will create virtualenvs for all Python version pygeoip supports and installs the current working tree using the install script. Running the tests requires a couple of sample databases found on the link below.

Maxmind sample databases for testing can be downloaded here: (17 MB)

Extract the tarball in the tests directory and run tox from the root directory.

This requires a machine with Python 2.6 - 3.3 installed and all dependencies mention in the header.


There's a Makefile doing all this for you.

make test