Skip to content

Commit

Permalink
updated installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Preston committed Aug 6, 2013
1 parent 5cecb57 commit eaf9319
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ Documentation
Install
=======

Download the latest releases of
[pifacecommon](https://github.com/piface/pifacecommon/releases) and
[pifacedigitalio](https://github.com/piface/pifacedigitalio/releases).
Then install with:
Download the debian package from
[here](https://github.com/piface/pifacedigitalio/releases) and install with:

$ dpkg -i python3-pifacecommon_2.0.2-1_all.deb python3-pifacedigitalio_2.0.2-1_all.deb
$ dpkg -i python3-pifacedigitalio_2.0.3-1_all.deb

You may need to download and install the latest release of
[pifacecommon](https://github.com/piface/pifacecommon/releases) and you might
also need to reboot.

Or you can install without using your package manager:

Expand Down
22 changes: 8 additions & 14 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@
Installation
############

.. note:: Subtitute ``python3``/``easy_install3`` for
``python``/``easy_install`` if you want to install for Python 2.
Download the latest debian package from
`here <https://github.com/piface/pifacedigitalio/releases>`_ and install with:

Download the latest releases of
`pifacecommon <https://github.com/piface/pifacecommon/releases>`_ and
`pifacedigitalio <https://github.com/piface/pifacedigitalio/releases>`_.
Then install with::
.. parsed-literal::
$ dpkg -i python3-pifacecommon_2.0.2-1_all.deb python3-pifacedigitalio_2.0.2-1_all.deb
$ sudo dpkg -i python3-pifacedigitalio\_\ |version|-1_all.deb
Or you can install without using your package manager::
$ git clone https://github.com/piface/pifacedigitalio.git
$ cd pifacedigitalio
$ sudo python3 setup.py install
You may also need to download and install the latest release of
`pifacecommon <https://github.com/piface/pifacecommon/releases>`_ and you might
also need to reboot.

You can also get pifacedigitalio from PyPi::

$ sudo easy_install3 pifacedigitalio
.. note:: Python 2 users will want to use python-pifacedigitalio\_\ |version|-1_all.deb.

0 comments on commit eaf9319

Please sign in to comment.