From bcad23874f60469a6e4faab41c795550f024b195 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 20 Sep 2017 13:30:43 -0400 Subject: [PATCH] more docs Signed-off-by: Kenneth Reitz --- docs/advanced.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/advanced.rst b/docs/advanced.rst index d6a99b31..0d3a51d4 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -363,6 +363,17 @@ will detect it. Also note that `pip itself supports environment variables `_, if you need additional customization. + +☤ A Note about VCS Dependencies +------------------------------- + +Pipenv will resolve the sub–depencies of VCS dependencies, but only if they are editable, like so:: + + [packages] + requests = {git = "https://github.com/requests/requests.git", editable=true} + +If editable is not true, sub–dependencies will not get resolved. + ☤ Custom Virtual Environment Location ------------------------------------- @@ -371,6 +382,8 @@ variable, if you have it set — so you can tell pipenv to store your virtual e export WORKON_HOME=~/.venvs +In addition, you can also have Pipenv stick the virtualenv in ``project/.venv`` by setting the ``PIPENV_VENV_IN_PROJECT`` environment variable. + ☤ Testing Projects ------------------