Closed cmeeren closed 8 years ago
This should be solved by https://github.com/ionelmc/cookiecutter-pylibrary/pull/36, at least for Travis.
Doesn't it work?
Probably - I'm still on an old version of cookiecutter-pypackage. However I'd really like to see this for AppVeyor as well, since fully testing my aacgmv2 package with no cache takes several hours due to building numpy.
Oh, and if it could work locally as well, that would be swell. Creating/re-creating a test environment with numpy with no cache takes maybe 10 minutes on Windows. D:
Try https://pypi.python.org/pypi/cookiepatcher to update project.
Thanks! The configuration files are rather heavily changed though, don't know how well it will work in this specific case. Will keep it in mind for the future, though!
Are you planning on implementing this on AppVeyor or locally? Building things can take a long time on Windows, so at least on Appveyor it's needed.
Yes, on my long TODO list :grimacing:. Wouldn't mind if someone else do it :yum:
I see that appveyor.yml already has
cache:
- '%LOCALAPPDATA%\pip\Cache'
Is this all that's needed? In other words, is AppVeyor caching already implemented? Ref. https://github.com/ionelmc/cookiecutter-pylibrary/pull/36 to see how it was implemented for Travis. Also perhaps see https://github.com/ionelmc/cookiecutter-pylibrary/commit/164476281e06f0c0917ad8a077de620637c239af where these lines were added.
Also, from what I can see from the pip changelog, it automatically builds and caches wheels since 7.0.0. If this is true, and it's already implemented on AppVeyor as indicated above, then there's really nothing to do here and this issue can be closed.
Let me verify this
Speed up pip install is a really great idea. Caches are supported on both Travis and AppVeyor. It would be great if you could enable caching so it works locally and at Travis and AppVeyor!
(I'm developing an extension that depends on numpy, which takes quite a while to compile each time...)