From 99b78579816569e8657820d20a826503e84b88ef Mon Sep 17 00:00:00 2001 From: Thomas Preston Date: Tue, 6 Aug 2013 16:03:35 +0100 Subject: [PATCH] updated docs with new install instructions --- README.md | 2 ++ docs/installation.rst | 19 +++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a47a343..200b9a9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/installation.rst b/docs/installation.rst index ce24430..daa0e8a 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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 `_. Then install with:: +Download the latest debian package from +`here `_. 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 @@ -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