Skip to content

Commit cf6c74a

Browse files
committed
Mention PIP_* environment variables in README
Related to issue #7. Thanks to @alegonz for reporting!
1 parent d9f9b9c commit cf6c74a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,20 @@ directory*
147147

148148
Python virtual environment directory. *Default: $(WORKDIR)/.venv*
149149

150+
##### PIP_*
151+
152+
Variables named starting with `PIP_` are not processed by *Makefile.venv* in
153+
any way and are passed to underlying pip calls as is. See [pip
154+
documentation](https://pip.pypa.io/en/stable/user_guide/#environment-variables)
155+
for more information.
156+
157+
Use these variables to customize pip invocation, for example to provide custom
158+
package index url:
159+
160+
```
161+
PIP_EXTRA_INDEX_URL="https://your.index/url"
162+
```
163+
150164
151165
## Samples
152166

0 commit comments

Comments
 (0)