This document will let you install and run Stalker.
Stalker is completely written with Python, so it requires Python. It currently works with Python version 2.5 to 2.7. So you first need to have Python installed in your system. On Linux and OSX there is a system wide Python already installed. For Windows, you need to download the Python installer suitable for your Windows operating system (32 or 64 bit) from Python.org
The easiest way to install the latest version of Stalker along with all its dependencies is to use the setuptools. If your system doesn’t have setuptools (particularly Windows) you need to install setuptools by using ez_setup bootstrap script.
These steps are generally needed just for Windows. Linux and OSX users can skip this part.
download ez_setup.py
run the following command in the command prompt/shell/terminal:
python ez_setup
It will install or build the setuptools if there are no suitable installer for your operating system.
After installing the setuptools you can run the following command:
easy_install -U stalker
Now you have installed Stalker along with all its dependencies.
If everything went ok you should be able to import and check the version of Stalker by using the Python prompt like this:
>>> import stalker
>>> stalker.__version__
0.1.1.a5
Developers can clone the latest development version of Stalker from Google Code. Use the following command to clone:
hg clone https://stalker.googlecode.com/hg/ stalker
Developers also need to install these Ptyhon packages:
The following command will install them all:
easy_install nose coverage mocker sphinx pygments
Stalker uses a database to store all the values in to. The only database backend that doesn’t require any extra installation is SQLite3. You can setup Stalker to run with an SQLite3 database. But it is much suitable to have a dedicated database server in your studio.
See the SQLAlchemy documentation for supported databases.