From 0cedf52aa4ee5a7b275b9cf9f386163ea66f8b6b Mon Sep 17 00:00:00 2001 From: Oleg A Date: Fri, 18 Aug 2023 02:35:35 +0300 Subject: [PATCH] docs: update win cmd examples --- docs/contributing.rst | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index d40388fd..a4a3b8e0 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -41,26 +41,25 @@ Linux / macOS: source .venv/bin/activate +Windows cmd + +.. code-block:: text + + .\.venv\Scripts\activate + Windows PowerShell .. code-block:: powershell - .\.venv\Scripts\Activate.ps1 + .\.venv\Scripts\activate.ps1 -To check it worked, use described command, it should show the :code:`pip` location inside -the isolated environment - -Linux / macOS: +To check it worked, use described command, it should show the :code:`pip` version and location +inside the isolated environment .. code-block:: - which pip + pip -V -Windows PowerShell - -.. code-block:: - - Get-Command pip Also make sure you have the latest pip version in your virtual environment to avoid errors on next steps: