PyTrainer basic installation
===========================

These are generic installation instructions to use with *.tar.gz files

1.- Dependency Overview

Here you are dependencies for PyTrainer. Of course you must have a working environment with proper shell configuration and typical GNU tools to uncompress (gunzip) and untar (tar) files.

1.1.- Packages (Fedora 12 working versions as of 2010.03.03 for 1.7.2 dev)

python-2.6.2
python-devel-2.6.2 (to run installation from tarball)
python-matplotlib-0.98.5.2
python-dateutil-1.4.1
gnome-python2-gtkmozembed-2.25.3
pygtk2-libglade-2.16.0
pygtk2-2.16.0
SOAPpy-0.11.6
python-lxml-2.2.3
libxml2-python-2.7.6
libxml2-2.7.6
libxslt-python-1.1.26
libxslt-1.1.26
sqlite-3.6.20 (sqlite is preferred as db than mysql)
xulrunner-1.9.1.8

- Only needed if correspondent plugin is enabled:
gpsbabel-1.3.5 ("Garmin via GPSBabel 1.3.5" aka garmin_hr)
garmintools-0.10 ("Garmin via garmintools" aka garmintools_full)

2.- Installation process

Copy tarball file to a location where you have write and execution rights (e.g. /tmp or your $HOME directory). Make sure executables are under your $PATH.

$ tar -xzf pytrainer-X.Y.Z.tar.gz
$ cd pytrainer-X.Y.Z
$ sudo python setup.py install
$ pytrainer -i

For more information about the process, please check http://docs.python.org/distutils/setupscript.html

3.- USB access

Currently PyTrainer is using gpsbabel (http://www.gpsbabel.org) to retrieve information from the Garmin device. There are some problems regarding driver to access usb ports, please take a look at http://www.gpsbabel.org/os/Linux_Hotplug.html
