Skip to content

Commit b60e8e3

Browse files
authored
Update README.rst (#11)
1 parent a52f936 commit b60e8e3

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

example/README.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,26 @@ messages using Slack's Web API via python-slackclient.
1010

1111
**Set up your Python environment:**
1212

13-
See `virtualenv`_ docs for more info.
13+
We're using virtualenv to keep the dependencies and environmental variables specific to this app. See `virtualenv`_ docs for more info.
1414

1515
.. _virtualenv: https://virtualenv.pypa.io
1616

17+
This example app works best in Python 2.7. If 2.7 is your default version, create a virtual environment by running:
18+
19+
.. code::
20+
21+
virtualenv -p /your/path/to/python2 env
22+
23+
Otherwise, if Python 3+ is your default, specify the path to your 2.7 instance:
24+
1725
.. code::
1826
1927
virtualenv -p /your/path/to/python2 env
28+
29+
Then initialize the virtualenv:
30+
31+
.. code::
32+
2033
source env/bin/activate
2134
2235

0 commit comments

Comments
 (0)