Skip to content

Commit

Permalink
legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
musvaage authored Sep 29, 2024
1 parent 355e46b commit 475f211
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions Doc/library/venv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,22 @@ The invocation of the activation script is platform-specific
(:samp:`{<venv>}` 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 {<venv>}/bin/activate` |
| +----------+--------------------------------------------------+
| | fish | :samp:`$ source {<venv>}/bin/activate.fish` |
| +----------+--------------------------------------------------+
| | csh/tcsh | :samp:`$ source {<venv>}/bin/activate.csh` |
| +----------+--------------------------------------------------+
| | pwsh | :samp:`$ {<venv>}/bin/Activate.ps1` |
+-------------+----------+--------------------------------------------------+
| Windows | cmd.exe | :samp:`C:\\> {<venv>}\\Scripts\\activate.bat` |
| +----------+--------------------------------------------------+
| | pwsh.exe | :samp:`PS C:\\> {<venv>}\\Scripts\\Activate.ps1` |
+-------------+----------+--------------------------------------------------+
+-------------+----------------+--------------------------------------------------+
| Platform | Shell | Command to activate virtual environment |
+=============+================+==================================================+
| POSIX | bash/zsh | :samp:`$ source {<venv>}/bin/activate` |
| +----------------+--------------------------------------------------+
| | fish | :samp:`$ source {<venv>}/bin/activate.fish` |
| +----------------+--------------------------------------------------+
| | csh/tcsh | :samp:`$ source {<venv>}/bin/activate.csh` |
| +----------------+--------------------------------------------------+
| | pwsh | :samp:`$ {<venv>}/bin/Activate.ps1` |
+-------------+----------------+--------------------------------------------------+
| Windows | cmd.exe | :samp:`C:\\> {<venv>}\\Scripts\\activate.bat` |
| +----------------+--------------------------------------------------+
| | pwsh.exe\ | :samp:`PS C:\\> {<venv>}\\Scripts\\Activate.ps1` |
| | powershell.exe | |
+-------------+----------------+--------------------------------------------------+

.. versionadded:: 3.4
:program:`fish` and :program:`csh` activation scripts.
Expand Down

0 comments on commit 475f211

Please sign in to comment.