Skip to content

Commit

Permalink
updated docs with new install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Preston committed Aug 6, 2013
1 parent edf8bec commit 99b7857
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Download the latest release from

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

You may need to reboot.

Or you can install without using your package manager:

$ git clone https://github.com/piface/pifacecommon.git
Expand Down
19 changes: 9 additions & 10 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,22 @@ Installation
Install
=======

.. note:: Subtitute ``python3`` for ``python`` and
``easy_install3`` for ``easy_install`` if you want to install for
.. note:: Subtitute ``python3`` for ``python`` if you want to install for
Python 2.

Automatically
-------------

Download the latest release from
`here <https://github.com/piface/pifacecommon/releases>`_. Then install with::
Download the latest debian package from
`here <https://github.com/piface/pifacecommon/releases>`_. Then install with:

$ dpkg -i python3-pifacecommon_2.0.3-1_all.deb
.. parsed-literal::
Or you can install without using your package manager::
$ sudo dpkg -i python3-pifacecommon\_\ |version|-1_all.deb
$ git clone https://github.com/piface/pifacecommon.git
$ cd pifacecommon/
$ sudo python3 setup.py install
$ sudo bin/post-installation.sh
You may need to reboot.

.. note:: Python 2 users will want to use python-pifacecommon\_\ |version|-1_all.deb.


Manually
Expand All @@ -38,6 +36,7 @@ Download and install with::
$ git clone https://github.com/piface/pifacecommon.git
$ cd pifacecommon/
$ sudo python3 setup.py install
$ sudo bin/post-installation.sh


Enable the SPI module
Expand Down

0 comments on commit 99b7857

Please sign in to comment.