| 1 |
pytrainer basic installation |
| 2 |
=========================== |
| 3 |
|
| 4 |
These are generic installation instructions to use with *.tar.gz files |
| 5 |
|
| 6 |
1.- Dependency Overview |
| 7 |
|
| 8 |
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. |
| 9 |
|
| 10 |
1.1.- Packages |
| 11 |
|
| 12 |
python >= 2.5 (python >= 3.0 not checked on 2011/11!) |
| 13 |
distutils >= 2.5 (python-devel, to run installation from tarball) |
| 14 |
dateutil >= 1.5 (python-dateutil) |
| 15 |
GTK+ >= 2.6.0 |
| 16 |
PyGTK >= 2.6.0 |
| 17 |
libglade >= 2.6.4 (libglade, pygtk2-libglade) |
| 18 |
webkit2gtk-4.0 >= 2.0 |
| 19 |
requests |
| 20 |
certify |
| 21 |
matplotlib >= 0.99.x (python-matplotlib) |
| 22 |
python-lxml >= 2.2 |
| 23 |
libxml2 >= 2.7.8 |
| 24 |
libxml2-python >= 2.7.8 |
| 25 |
libxslt >= 1.1.26 |
| 26 |
libxslt-python >= 1.1.26 |
| 27 |
sqlite >= 3.2.0 (sqlite is preferred to mysql as database, MySQL-python has been reported to be installed if so) |
| 28 |
sqlalchemy >= 0.6.4 |
| 29 |
zenity >= 2.30 |
| 30 |
|
| 31 |
- Only needed if correspondent plugin or extension is enabled: |
| 32 |
gpsbabel == 1.3.5 ("GoogleEarth" and "Garmin via GPSBabel 1.3.5" aka "garmin_hr") |
| 33 |
garmintools >= 0.10 ("Import from Garmin GPS device (via garmintools)" aka "garmintools_full" plugin) |
| 34 |
wordpresslib (already distributed within pytrainer tarball, wordpress extension) |
| 35 |
httplib2 >= 0.6.0 (wordpress extension) |
| 36 |
SOAPpy >= 0.11.6 (dotclear extension) |
| 37 |
GDAL (Elevation correction, via "gdal-python" or "python-gdal") |
| 38 |
perl (garmin-fit plugin, tested with perl v5.16.2 on Fedora 18, see ticket #5) |
| 39 |
|
| 40 |
2.- Installation process |
| 41 |
|
| 42 |
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. |
| 43 |
|
| 44 |
$ tar -xzf pytrainer-X.Y.Z.tar.gz |
| 45 |
$ cd pytrainer-X.Y.Z |
| 46 |
$ sudo python setup.py install |
| 47 |
$ pytrainer -i |
| 48 |
|
| 49 |
For more information about the process, please check http://docs.python.org/distutils/setupscript.html |
| 50 |
|
| 51 |
3.- USB access |
| 52 |
|
| 53 |
pytrainer can use gpsbabel (http://www.gpsbabel.org) to retrieve information from Garmin devices. There are some problems regarding driver to access usb ports, please take a look at http://www.gpsbabel.org/os/Linux_Hotplug.html |