From 6deb452f0de092e84b451dc85457cff19ed4e8c8 Mon Sep 17 00:00:00 2001 From: AmirAli Moinfar Date: Sun, 5 Jul 2015 14:30:08 +0430 Subject: [PATCH] Add documentation for caching pip packages --- docs/buckets/pip.md | 15 +++++++++++++++ docs/template.html | 1 + 2 files changed, 16 insertions(+) create mode 100644 docs/buckets/pip.md diff --git a/docs/buckets/pip.md b/docs/buckets/pip.md new file mode 100644 index 0000000..bfa4a3b --- /dev/null +++ b/docs/buckets/pip.md @@ -0,0 +1,15 @@ +# [pip](https://pip.pypa.io/) + +Compatible with probably any type of linux guest distro, will hook into pip's +http and wheels cache directory under `$HOME/.cache/pip/http` and `$HOME/.cache/pip/wheels` as +the default SSH user (usually `vagrant`) on your guest. + +To manually enable it: + +```ruby +Vagrant.configure("2") do |config| + config.vm.box = 'some-box-with-pip-installed' + config.cache.enable :pip +end +``` + diff --git a/docs/template.html b/docs/template.html index 06b1eca..0bdbcd1 100644 --- a/docs/template.html +++ b/docs/template.html @@ -96,6 +96,7 @@
  • rvm
  • Yum
  • Zypper
  • +
  • pip