Skip to content

Commit

Permalink
Update development mode documentation to mention that order of local …
Browse files Browse the repository at this point in the history
…packages matters (pypa#208)
  • Loading branch information
ninz authored and ncoghlan committed Jun 24, 2017
1 parent 074eb95 commit 9d4c3df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/distributing.rst
Expand Up @@ -554,7 +554,14 @@ requirements file like so::

The first line says to install your project and any dependencies. The second
line overrides the "bar" dependency, such that it's fulfilled from vcs, not
PyPI. For more on requirements files, see the :ref:`Requirements File
PyPI.

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::

-e /path/to/project/bar
-e .

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
<pip:Requirements Files>` section in the pip docs. For more on vcs installs,
see the :ref:`VCS Support <pip:VCS Support>` section of the pip docs.

Expand Down

0 comments on commit 9d4c3df

Please sign in to comment.