Skip to content

Instantly share code, notes, and snippets.

@bennuttall
Created January 10, 2022 17:03
Show Gist options
  • Save bennuttall/96674e828f9f3a8d104c3fe4206b10fb to your computer and use it in GitHub Desktop.
Save bennuttall/96674e828f9f3a8d104c3fe4206b10fb to your computer and use it in GitHub Desktop.
from pathlib import Path
from piwheels.slave.builder import Builder, Wheel
b = Builder(None, None)
w = Wheel(Path('awkward-1.0.0-cp37-cp37m-linux_armv7l.whl'))
with open('dependencies.txt', 'w') as f:
for pkg in w.dependencies['apt']:
f.write(pkg + '\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment