Skip to content

Installing

Carolina Fernández edited this page May 15, 2013 · 2 revisions

Follow the next steps to manage the pyPElib package within your system.

###Install

To install PyPElib into a Debian-based distro follow the next steps:

  • Download the Debian package from the deb branch

    • by fetching the raw file
    • by cloning the deb branch that stores the file:
    git clone -b deb git://github.com/fp7-ofelia/pypelib.git
    
  • pyPElib has a dependency with the python-pyparsing package. If not installed yet, do so by typing:

    apt-get install python-pyparsing
    
  • Once all the dependencies are met, use the following command to complete the installation:

    dpkg -i pypelib_latest_all.deb
    

###Uninstall

To uninstall this package, use the command:

dpkg -r pypelib

###Info

Package name Python module name Type Location
pypelib pypelib lib /usr/lib/python2.*/pypelib

###How To Use PyPElib

If you want to use PyPElib from your code you may import either the whole module or a specific class:

import pypelib                                      # Imports the whole module
from pypelib.<path.to.Class> import <ClassName>     # Imports a specific class
Clone this wiki locally