Merge pull request #1445 from JosefAssad/mention-pipenv_pipfile-in-docs

mention `PIPENV_PIPFILE` in advanced docs
This commit is contained in:
2018-02-18 06:54:56 -06:00
committed by GitHub
+4
View File
@@ -293,6 +293,10 @@ will detect it.
- ``PIPENV_IGNORE_VIRTUALENVS`` — Set to disable automatically using an activated virtualenv over
the current project's own virtual environment.
- ``PIPENV_PIPFILE`` — When running pipenv from a $PWD other than the same
directory where the Pipfile is located, instruct pipenv to find the
Pipfile in the location specified by this environment variable.
If you'd like to set these environment variables on a per-project basis, I recommend utilizing the fantastic `direnv <https://direnv.net>`_ project, in order to do so.
Also note that `pip itself supports environment variables <https://pip.pypa.io/en/stable/user_guide/#environment-variables>`_, if you need additional customization.