Skip to content

Commit

Permalink
Update README for syntax highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeckHubBot authored and braincore committed Feb 18, 2016
1 parent b38326a commit ebfe433
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ A Python SDK for integrating with the Dropbox API v2. Compatible with Python
Setup
-----

You can install this package from the root directory by running::
You can install this package from the root directory by running:

.. code-block:: bash
$ python setup.py install
After installation, to get started, open a Python console::
After installation, to get started, open a Python console:

.. code-block:: python
>>> import dropbox
>>> dbx = dropbox.Dropbox("YOUR_ACCESS_TOKEN")
Expand Down Expand Up @@ -58,8 +62,10 @@ Running tests
-------------

We use the `tox <https://tox.readthedocs.org/>`_ package to run tests in Python
2 and 3. To install, use `pip install tox`. Once installed, run `tox` from the
root directory. You'll need to specify a working Dropbox OAuth2 token::
2 and 3. To install, use :code:`pip install tox`. Once installed, run `tox` from the
root directory. You'll need to specify a working Dropbox OAuth2 token:

.. code-block:: bash
$ DROPBOX_TOKEN=YOUR_TOKEN tox

0 comments on commit ebfe433

Please sign in to comment.