diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 68acb3ecd1a153a..b4c5c350499add2 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -86,21 +86,22 @@ The invocation of the activation script is platform-specific (:samp:`{}` must be replaced by the path to the directory containing the virtual environment): -+-------------+----------+--------------------------------------------------+ -| Platform | Shell | Command to activate virtual environment | -+=============+==========+==================================================+ -| POSIX | bash/zsh | :samp:`$ source {}/bin/activate` | -| +----------+--------------------------------------------------+ -| | fish | :samp:`$ source {}/bin/activate.fish` | -| +----------+--------------------------------------------------+ -| | csh/tcsh | :samp:`$ source {}/bin/activate.csh` | -| +----------+--------------------------------------------------+ -| | pwsh | :samp:`$ {}/bin/Activate.ps1` | -+-------------+----------+--------------------------------------------------+ -| Windows | cmd.exe | :samp:`C:\\> {}\\Scripts\\activate.bat` | -| +----------+--------------------------------------------------+ -| | pwsh.exe | :samp:`PS C:\\> {}\\Scripts\\Activate.ps1` | -+-------------+----------+--------------------------------------------------+ ++-------------+----------------+--------------------------------------------------+ +| Platform | Shell | Command to activate virtual environment | ++=============+================+==================================================+ +| POSIX | bash/zsh | :samp:`$ source {}/bin/activate` | +| +----------------+--------------------------------------------------+ +| | fish | :samp:`$ source {}/bin/activate.fish` | +| +----------------+--------------------------------------------------+ +| | csh/tcsh | :samp:`$ source {}/bin/activate.csh` | +| +----------------+--------------------------------------------------+ +| | pwsh | :samp:`$ {}/bin/Activate.ps1` | ++-------------+----------------+--------------------------------------------------+ +| Windows | cmd.exe | :samp:`C:\\> {}\\Scripts\\activate.bat` | +| +----------------+--------------------------------------------------+ +| | pwsh.exe\ | :samp:`PS C:\\> {}\\Scripts\\Activate.ps1` | +| | powershell.exe | | ++-------------+----------------+--------------------------------------------------+ .. versionadded:: 3.4 :program:`fish` and :program:`csh` activation scripts.