Tweak pyserial installation instructions

This commit is contained in:
Sudar 2015-04-04 06:24:39 +05:30
parent 10ac2d9c12
commit 87a9e7f0cb

View file

@ -70,11 +70,27 @@ to build an RPM.
## Requirements ## Requirements
### Arduino IDE
You need to have the Arduino IDE. You can either install it through the You need to have the Arduino IDE. You can either install it through the
installer or download the distribution zip file and extract it. installer or download the distribution zip file and extract it.
### pySerial
The Makefile also delegates resetting the board to a short Python program. The Makefile also delegates resetting the board to a short Python program.
You'll need to install `pySerial` to use it though. You'll need to install `[pySerial](https://pypi.python.org/pypi/pyserial)` to use it though.
On most systems you should be able to install it using either `pip` or `easy_install`.
```sh
pip install pyserial
# or if you prefer easy_install
easy_install -U pyserial
```
If you prefer to install it as a package, then you can do that as well.
On Debian or Ubuntu: On Debian or Ubuntu:
@ -102,21 +118,8 @@ sudo port install py27-serial
On Windows: On Windows:
You need to install Cygwin and its packages for Make, Perl and the following Serial library. You need to install Cygwin and its packages for Make, Perl and the following Serial library
or you can install it using the [pre-built package installer](https://pypi.python.org/pypi/pyserial)
```sh
pySerial can be downloaded from PyPi
```
On other systems:
```sh
pip install pyserial
# or
easy_install -U pyserial
```
## Usage ## Usage