mirror of https://github.com/pypa/pip
Avoid Sphinx from justify-expanding code block
This commit is contained in:
parent
c5908bd222
commit
91444f546e
|
@ -384,7 +384,7 @@ where ``setup.py`` is not in the root of project, the "subdirectory" component
|
||||||
is used. The value of the "subdirectory" component should be a path starting
|
is used. The value of the "subdirectory" component should be a path starting
|
||||||
from the root of the project to where ``setup.py`` is located.
|
from the root of the project to where ``setup.py`` is located.
|
||||||
|
|
||||||
So if your repository layout is::
|
If your repository layout is::
|
||||||
|
|
||||||
pkg_dir
|
pkg_dir
|
||||||
├── setup.py # setup.py for package "pkg"
|
├── setup.py # setup.py for package "pkg"
|
||||||
|
@ -393,7 +393,9 @@ So if your repository layout is::
|
||||||
└── some_file
|
└── some_file
|
||||||
some_other_file
|
some_other_file
|
||||||
|
|
||||||
You'll need to use ``pip install -e "vcs+protocol://repo_url/#egg=pkg&subdirectory=pkg_dir"``.
|
Then, to install from this repository, the syntax would be::
|
||||||
|
|
||||||
|
$ pip install -e "vcs+protocol://repo_url/#egg=pkg&subdirectory=pkg_dir"
|
||||||
|
|
||||||
|
|
||||||
Git
|
Git
|
||||||
|
|
Loading…
Reference in New Issue