From c102ad7213323f88dceaaf6138aee6df65a0ec21 Mon Sep 17 00:00:00 2001 From: Harshit Sharma <66710144+harshitethic@users.noreply.github.com> Date: Thu, 1 Oct 2026 23:04:13 +0530 Subject: [PATCH] docs: quote editable VCS direct references --- source/tutorials/installing-packages.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/tutorials/installing-packages.rst b/source/tutorials/installing-packages.rst index 4c9b950306..30835448a5 100644 --- a/source/tutorials/installing-packages.rst +++ b/source/tutorials/installing-packages.rst @@ -487,19 +487,19 @@ syntax, see pip's section on :ref:`VCS Support `. .. code-block:: bash - python3 -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git # from git - python3 -m pip install -e SomeProject @ hg+https://hg.repo/some_pkg # from mercurial - python3 -m pip install -e SomeProject @ svn+svn://svn.repo/some_pkg/trunk/ # from svn - python3 -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git@feature # from a branch + python3 -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git" # from git + python3 -m pip install -e "SomeProject @ hg+https://hg.repo/some_pkg" # from mercurial + python3 -m pip install -e "SomeProject @ svn+svn://svn.repo/some_pkg/trunk/" # from svn + python3 -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git@feature" # from a branch .. tab:: Windows .. code-block:: bat - py -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git # from git - py -m pip install -e SomeProject @ hg+https://hg.repo/some_pkg # from mercurial - py -m pip install -e SomeProject @ svn+svn://svn.repo/some_pkg/trunk/ # from svn - py -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git@feature # from a branch + py -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git" # from git + py -m pip install -e "SomeProject @ hg+https://hg.repo/some_pkg" # from mercurial + py -m pip install -e "SomeProject @ svn+svn://svn.repo/some_pkg/trunk/" # from svn + py -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git@feature" # from a branch Installing from other Indexes =============================