Skip to content

Commit c5c3c15

Browse files
authored
docs: change descriptions for virtual environment (#48)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [X] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-logging/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [X] Ensure the tests and linter pass - [X] Code coverage does not decrease (if any source code was changed) - [X] Appropriate docs were updated (if necessary) Fixes #47
1 parent 6dde25e commit c5c3c15

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.rst

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python Client for Stackdriver Logging
22
=====================================
33

4-
|pypi| |versions|
4+
|pypi| |versions|
55

66
`Stackdriver Logging API`_: Writes log entries and manages your Stackdriver
77
Logging configuration.
@@ -35,15 +35,15 @@ In order to use this library, you first need to go through the following steps:
3535
Installation
3636
~~~~~~~~~~~~
3737

38-
Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
38+
Install this library in a `venv`_ using pip. `venv`_ is a tool to
3939
create isolated Python environments. The basic problem it addresses is one of
4040
dependencies and versions, and indirectly permissions.
4141

42-
With `virtualenv`_, it's possible to install this library without needing system
42+
With `venv`_, it's possible to install this library without needing system
4343
install permissions, and without clashing with the installed system
4444
dependencies.
4545

46-
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
46+
.. _`venv`: https://docs.python.org/3/library/venv.html
4747

4848

4949
Supported Python Versions
@@ -52,16 +52,15 @@ Python >= 3.5
5252

5353
Deprecated Python Versions
5454
^^^^^^^^^^^^^^^^^^^^^^^^^^
55-
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
55+
Python == 2.7. Python 2.7 support was removed on January 1, 2020.
5656

5757

5858
Mac/Linux
5959
^^^^^^^^^
6060

6161
.. code-block:: console
6262
63-
pip install virtualenv
64-
virtualenv <your-env>
63+
python -m venv <your-env>
6564
source <your-env>/bin/activate
6665
<your-env>/bin/pip install google-cloud-logging
6766
@@ -71,8 +70,7 @@ Windows
7170

7271
.. code-block:: console
7372
74-
pip install virtualenv
75-
virtualenv <your-env>
73+
python -m venv <your-env>
7674
<your-env>\Scripts\activate
7775
<your-env>\Scripts\pip.exe install google-cloud-logging
7876

0 commit comments

Comments
 (0)