Skip to content

Commit

Permalink
Remove python2.7 references
Browse files Browse the repository at this point in the history
As python 2.7 is no longer in support,
let's remove this from the README
  • Loading branch information
amberheilman authored Sep 28, 2020
1 parent f726367 commit 9b4a89b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,13 @@ how packaging works and what each command does.

Python 3 environments
~~~~~~~~~~~~~~~~~~~~~
The code examples are written to run under python 3. Newer python 2.7
releases should work as well (see the following section). Python 3 includes
The code examples are written to run under python 3. Python 3 includes
the `venv`_ module so creating an isolated environment does not require
additional packages::

prompt$ cd public-api-examples/python
prompt$ python3 -m venv env

Python 2.7 environments
~~~~~~~~~~~~~~~~~~~~~~~
If you are forced to use Python 2.7, then you will need to install
`virtualenv`_ before you can create an isolated work environment::

prompt$ cd public-api-examples/python
prompt$ python2.7 -m pip install --user virtualenv
prompt$ python2.7 -m virtualenv env

Installing requirements
~~~~~~~~~~~~~~~~~~~~~~~
The python examples require a few common packages that we recommend using in
Expand Down

0 comments on commit 9b4a89b

Please sign in to comment.