Skip to content

Commit

Permalink
Merge pull request #3758 from docdeveloper/patch-2
Browse files Browse the repository at this point in the history
Adds info on env variables
  • Loading branch information
frostming authored Jul 10, 2019
2 parents d618cad + 2b2cfa1 commit 065ebdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ Luckily - pipenv will hash your Pipfile *before* expanding environment
variables (and, helpfully, will substitute the environment variables again when
you install from the lock file - so no need to commit any secrets! Woo!)

If your credentials contain a special character, surround the references to the environment variables with quotation marks. For example, if your password contain a double quotation mark, surround the password variable with single quotation marks. Otherwise, you may get a `ValueError, "No closing quotation"` error while installing dependencies.

[[source]]
url = "https://$USERNAME:'${PASSWORD}'@mypypi.example.com/simple"


☤ Specifying Basically Anything
-------------------------------
Expand Down

0 comments on commit 065ebdb

Please sign in to comment.