Skip to content

Commit

Permalink
README: format shell code for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
rahiel committed Apr 25, 2016
1 parent 3189d4d commit 5b867b2
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions README.rst
Expand Up @@ -117,7 +117,9 @@ answerCallbackQuery Yes
_`Installing`
=============

You can install or upgrade python-telegram-bot with::
You can install or upgrade python-telegram-bot with:

.. code:: shell
$ pip install python-telegram-bot==4.0rc1 --upgrade
Expand All @@ -127,22 +129,28 @@ _`Getting the code`

The code is hosted at https://github.com/python-telegram-bot/python-telegram-bot

Check out the latest development version anonymously with::
Check out the latest development version anonymously with:

.. code:: shell
$ git clone https://github.com/python-telegram-bot/python-telegram-bot
$ cd python-telegram-bot
Install dependencies:

$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
.. code:: shell
$ pip install -r requirements.txt -r requirements-dev.txt
Run tests:

.. code:: shell
$ make test
To see other options available, run:
To see other available options, run:

.. code:: shell
$ make help
Expand Down Expand Up @@ -308,7 +316,9 @@ To download a file (you will need its ``file_id``):
>>> newFile = bot.getFile(file_id)
>>> newFile.download('voice.ogg')
There are many more API methods, to read the full API documentation::
There are many more API methods, to read the full API documentation:

.. code:: shell
$ pydoc telegram.Bot
Expand Down

0 comments on commit 5b867b2

Please sign in to comment.