Skip to content

Instantly share code, notes, and snippets.

@bmcorser
Created September 4, 2014 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmcorser/134a61683d33a6234819 to your computer and use it in GitHub Desktop.
Save bmcorser/134a61683d33a6234819 to your computer and use it in GitHub Desktop.
from wheel.install import WheelFile
dist_path = '/path/to/mypackage.whl'
whl = WheelFile(dist_path)
whl.parsed_wheel_info.items()
# [('Wheel-Version', '1.0'), ('Generator', 'bdist_wheel (0.21.0)'), ('Root-Is-Purelib', 'false'), ('Tag', 'cp27-none-macosx_10_9_x86_64')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment