Table of Contents
Python pip
Install local package to custom directory
$ export PYTHONPATH=/custom/python-lib/path/lib/python2.7/site-packages:$PYTHONPATH $ tar -xf package-x.y.z $ cd package-x.y.z package-x.y.z $ PYTHONUSERBASE=/custom/python-lib/path pip install --target=/custom/python-lib/path/lib/python2.7/site-packages .
Install dependencies from local directory
Download all dependencies (source or wheel) to one directory.
$ pip install --no-index --find-link /path/to/dependencies/directory