Skip to content

Commit e844cf4

Browse files
ninzJon Wayne Parrott
authored andcommitted
Update development mode documentation to mention that order of local packages matters (pypa#208)
1 parent dd3d8df commit e844cf4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/distributing.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,14 @@ requirements file like so::
554554

555555
The first line says to install your project and any dependencies. The second
556556
line overrides the "bar" dependency, such that it's fulfilled from vcs, not
557-
PyPI. For more on requirements files, see the :ref:`Requirements File
557+
PyPI.
558+
559+
If, however, you want "bar" installed from a local directory in editable mode, the requirements file should look like this, with the local paths at the top of the file::
560+
561+
-e /path/to/project/bar
562+
-e .
563+
564+
Otherwise, the dependency will be fulfilled from PyPI, due to the installation order of the requirements file. For more on requirements files, see the :ref:`Requirements File
558565
<pip:Requirements Files>` section in the pip docs. For more on vcs installs,
559566
see the :ref:`VCS Support <pip:VCS Support>` section of the pip docs.
560567

0 commit comments

Comments
 (0)