Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a way to list cached wheel files #2851

Closed
RonnyPfannschmidt opened this issue Jun 1, 2015 · 5 comments
Closed

add a way to list cached wheel files #2851

RonnyPfannschmidt opened this issue Jun 1, 2015 · 5 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@RonnyPfannschmidt
Copy link
Contributor

use cases
pip show-cache-command|xargs twine upload -r $LOCAL_CACHE
and

devpi use cache/$DISTRO_NAME
pip show-cache-command|xargs devpi upload ...
@dstufft
Copy link
Member

dstufft commented Jun 1, 2015

You can do find ~/Library/Caches/pip/wheels -type f -name '*.whl', that's not the most user friendly way of doing it though.

@RonnyPfannschmidt
Copy link
Contributor Author

thats why i'd like to have it from pip, platform differences are a pain

@nedbat
Copy link

nedbat commented Aug 12, 2015

👍 I would use this to clean out cached wheels while I am testing local installs of my package under development. Then I wouldn't need to hard-code a Mac location like this: https://bitbucket.org/ned/coveragepy/commits/a1965cdaac123a0db5b16e50b8af25c3e1ee5fa2

@xavfernandez
Copy link
Member

@nedbat: #3146 could help you with cleaning old wheels. Feedback is welcome :)

@dstufft
Copy link
Member

dstufft commented Mar 22, 2017

Closing this, providing a mechanism to do this will encourage people to script around and depend on pip's cache format, which we don't want to encourage people to depend on that as it is an internal detail.

@dstufft dstufft closed this as completed Mar 22, 2017
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

4 participants