pip

Table of Contents

pip Environment Variables reference

pip's command line options can be set with environment variables using the format PIP_<UPPER_LONG_NAME>. Dashes (-) have to be replaced with underscores (_).

Vendor(Embed) dependencies howto

Updating vendored dependencies is based on how pip does. For more details about vendoring, SEE Vendoring Policy.

  1. First, install target dependencies within a _vedor/ (or the name you like) folder.

  2. (Optional) To make vendored packages compact, delete unnecessary things like *.dist-info, *.egg-info, bin/, etc.
  3. Decide how to expose vendored packages:
  4. (Optional) Apply some patches for specific packages, like requests.patch.