{"action":"created","issue":{"url":"https://api.github.com/repos/mathcamp/pypicloud/issues/91","repository_url":"https://api.github.com/repos/mathcamp/pypicloud","labels_url":"https://api.github.com/repos/mathcamp/pypicloud/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/mathcamp/pypicloud/issues/91/comments","events_url":"https://api.github.com/repos/mathcamp/pypicloud/issues/91/events","html_url":"https://github.com/mathcamp/pypicloud/issues/91","id":157120509,"number":91,"title":"Precompiled packages not cached","user":{"login":"kevart","id":5118530,"avatar_url":"https://avatars.githubusercontent.com/u/5118530?v=3","gravatar_id":"","url":"https://api.github.com/users/kevart","html_url":"https://github.com/kevart","followers_url":"https://api.github.com/users/kevart/followers","following_url":"https://api.github.com/users/kevart/following{/other_user}","gists_url":"https://api.github.com/users/kevart/gists{/gist_id}","starred_url":"https://api.github.com/users/kevart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevart/subscriptions","organizations_url":"https://api.github.com/users/kevart/orgs","repos_url":"https://api.github.com/users/kevart/repos","events_url":"https://api.github.com/users/kevart/events{/privacy}","received_events_url":"https://api.github.com/users/kevart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-27T03:02:00Z","updated_at":"2016-06-14T16:29:24Z","closed_at":null,"body":"I am comparing timings and output when installing from [pypi.python.org](https://pypi.python.org) and our local _pypicloud_. \r\n_pip_ choses a precompiled version of the package from [pypi.python.org](https://pypi.python.org) but gets the package's source from our _pypicloud_ which needs to get compiled and takes time. Is there a way to make _pypicloud_ cache these packages?\r\n\r\n**pypicloud.ini**\r\n\r\npypi.fallback = cache\r\n\r\n**pypi.python.org (without pip.conf)**\r\n```\r\n> pip install numpy \r\n[..]\r\nDownloading numpy-1.11.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.9MB)\r\n[..]\r\nInstalling collected packages: numpy\r\nSuccessfully installed numpy-1.11.0\r\n```\r\n\r\n**our pypicloud (with pip.conf)**\r\n```\r\n> pip install numpy\r\n[..]\r\nDownloading https://<our pypicloud>.s3.amazonaws.com/dev/b3f3/numpy/numpy-1.11.0.tar.gz?Signature=lQKqpEp6dAkk2yHhEt4zS19vrTo%3D&Expires=1464402830&AWSAccessKeyId=AKIAIDCDQYRI6XLEG4KQ (4.2MB)\r\n[..]\r\nRunning setup.py (path:/private/var/folders/fj/8w4_zr7d6bqd04lx4tz95rz40000gn/T/pip-build-DDuVGr/numpy/setup.py) egg_info for package num\r\n    Running command python setup.py egg_info\r\n    Running from numpy source directory.\r\n[..]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mathcamp/pypicloud/issues/comments/225938067","html_url":"https://github.com/mathcamp/pypicloud/issues/91#issuecomment-225938067","issue_url":"https://api.github.com/repos/mathcamp/pypicloud/issues/91","id":225938067,"user":{"login":"stevearc","id":506791,"avatar_url":"https://avatars.githubusercontent.com/u/506791?v=3","gravatar_id":"","url":"https://api.github.com/users/stevearc","html_url":"https://github.com/stevearc","followers_url":"https://api.github.com/users/stevearc/followers","following_url":"https://api.github.com/users/stevearc/following{/other_user}","gists_url":"https://api.github.com/users/stevearc/gists{/gist_id}","starred_url":"https://api.github.com/users/stevearc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevearc/subscriptions","organizations_url":"https://api.github.com/users/stevearc/orgs","repos_url":"https://api.github.com/users/stevearc/repos","events_url":"https://api.github.com/users/stevearc/events{/privacy}","received_events_url":"https://api.github.com/users/stevearc/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T16:29:24Z","updated_at":"2016-06-14T16:29:24Z","body":"I ran though it and it seems that there are some problems with the way we're using distlib. I've put together a patch that should fix it on the [0.4](https://github.com/mathcamp/pypicloud/tree/0.4) branch (commit dc8af1610b9164366923572bf520bb8dd2a00893). Could one of you give it a try and see if it fixes your issue?"}}
{"actor":{"display_login":"stevearc"}}