Skip to content

Commit 555e63d

Browse files
authored
Merge pull request #2153 from harshitethic/fix/vcs-editable-direct-reference-1509
docs: quote PEP 508 VCS direct references in editable install examples
2 parents cbd2295 + 0037b7d commit 555e63d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎source/tutorials/installing-packages.rst‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -487,19 +487,19 @@ syntax, see pip's section on :ref:`VCS Support <pip:VCS Support>`.
487487

488488
.. code-block:: bash
489489
490-
python3 -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git # from git
491-
python3 -m pip install -e SomeProject @ hg+https://hg.repo/some_pkg # from mercurial
492-
python3 -m pip install -e SomeProject @ svn+svn://svn.repo/some_pkg/trunk/ # from svn
493-
python3 -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git@feature # from a branch
490+
python3 -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git" # from git
491+
python3 -m pip install -e "SomeProject @ hg+https://hg.repo/some_pkg" # from mercurial
492+
python3 -m pip install -e "SomeProject @ svn+svn://svn.repo/some_pkg/trunk/" # from svn
493+
python3 -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git@feature" # from a branch
494494
495495
.. tab:: Windows
496496

497497
.. code-block:: bat
498498
499-
py -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git # from git
500-
py -m pip install -e SomeProject @ hg+https://hg.repo/some_pkg # from mercurial
501-
py -m pip install -e SomeProject @ svn+svn://svn.repo/some_pkg/trunk/ # from svn
502-
py -m pip install -e SomeProject @ git+https://git.repo/some_pkg.git@feature # from a branch
499+
py -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git" # from git
500+
py -m pip install -e "SomeProject @ hg+https://hg.repo/some_pkg" # from mercurial
501+
py -m pip install -e "SomeProject @ svn+svn://svn.repo/some_pkg/trunk/" # from svn
502+
py -m pip install -e "SomeProject @ git+https://git.repo/some_pkg.git@feature" # from a branch
503503
504504
Installing from other Indexes
505505
=============================

0 commit comments

Comments
 (0)