- python-cups bindings
- virtualenv
- Setup a new virtualenv somewhere and activate it
- easy_install or pip install Jinja2 Werkzeug
- If your version of Python doesn't come with a native
json
module, you'll need to easy_install or pip install simplejson - Clone into the root of the virtualenv, so you should have
virtualenv_root/{photoreg,bin,include,lib}
- mkdir for the collected data, it's one file per registration (eg.
virtualenv_root/records/
) - Copy the sample environment script into the root of the virtualenv, and adjust parameters to suit
cd root/of/virtualenv/
source photoreg.env
cd photoreg/
python reg.py