fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.07k stars 111 forks source link

Add pip cache bucket #154

Closed semekh closed 9 years ago

semekh commented 9 years ago

Fixes #80. Works around locking issue with pip.

fgrehm commented 9 years ago

Sorry but as per GH-143 I'm looking for help to maintain this plugin and for now I'm holding back from bringing in new features =/

If you are interested on maintaining the project and keep things moving please shoot me an email or drop a message on GH-143 so I can arrange things.

Cheers

gotlium commented 9 years ago

Hi. Why you are using $HOME/.cache/pip/http and $HOME/.cache/pip/wheels ? By default pip using it's own directory $HOME/.pip/cache Can you add to documentation export PIP_DOWNLOAD_CACHE, or link to pip docs :smiley: :thumbsup:

There are also a legacy per-user configuration file which is also respected, these are located at: On Unix and Mac OS X the configuration file is: $HOME/.pip/pip.conf On Windows the configuration file is: %HOME%\pip\pip.ini

@fgrehm I think we can maintain this plugin feature (I mean pip) :smile:

semekh commented 9 years ago

It's not possible to simply use $HOME/.cache/pip because of a bug with pip locks that causes it to hang.

fgrehm commented 9 years ago

FTR - I made @SeMeKh a collaborator on this repository

jvrplmlmn commented 9 years ago

:+1: Great addition, can we get this in?

semekh commented 9 years ago

I was just thinking of changing the actual cache directories so that we can make it forward-compatible. Will apply the change and merge it soon.

semekh commented 9 years ago

Looks like there is no need to change the directory structure.