Skip to content

Commit

Permalink
Updates installation instructions for Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Baldo committed Jul 31, 2018
1 parent 31b163f commit bed2e73
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,34 @@ Installation

Installing using pip (recommended)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
- On **Python 3**
::

sudo pip3 install https://github.com/tomorrowdata/iottly-sdk-python/archive/1.2.0.tar.gz

- On **Python 2.7**
::

sudo pip install https://github.com/tomorrowdata/iottly-sdk-python/archive/1.2.0.tar.gz

sudo pip3 install https://github.com/tomorrowdata/iottly-sdk-python/archive/1.2.0.tar.gz

or Installing using setuptools
or using setuptools
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::

wget -O iottly-sdk-python-1.2.0.tar.gz https://github.com/tomorrowdata/iottly-sdk-python/archive/1.2.0.tar.gz
tar -xzf iottly-sdk-python-1.2.0.tar.gz -C /tmp
cd /tmp/iottly-sdk-python-1.2.0
sudo python3 setup.py install

- On Python 3
::

sudo python3 setup.py install

- On Python 2.7
::

sudo python2.7 setup.py install


Classes
Expand Down

0 comments on commit bed2e73

Please sign in to comment.