Last active
July 31, 2024 20:17
-
-
Save bennuttall/96674e828f9f3a8d104c3fe4206b10fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
from piwheels.slave.builder import Builder, Wheel | |
wheel_file_path = Path("awkward-1.0.0-cp37-cp37m-linux_armv7l.whl") | |
builder = Builder(None, None) | |
wheel = Wheel(wheel_file_path) | |
builder.build_dependencies(wheel) | |
with open('dependencies.txt', 'w') as f: | |
for pkg in wheel.dependencies['apt']: | |
f.write(pkg + '\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment