Skip to content

Instantly share code, notes, and snippets.

@adamwight
Created January 3, 2018 14:37
Show Gist options
  • Save adamwight/e2ba5ef370ef69420b69bc9730c7e8f5 to your computer and use it in GitHub Desktop.
Save adamwight/e2ba5ef370ef69420b69bc9730c7e8f5 to your computer and use it in GitHub Desktop.
Tools for probing Python wheels
from pip import pep425tags
print(pep425tags.supported_tags)
import sys
from pip import wheel
path = sys.argv[1]
w = wheel.Wheel(path)
print(w.file_tags)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment