mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 16:40:20 +00:00
Desperation
This commit is contained in:
parent
50936db2fc
commit
d87276dc0f
1 changed files with 7 additions and 0 deletions
|
@ -100,6 +100,13 @@ def main(wheel_file: str, dest_dir: str, archs: Optional[str]) -> None:
|
|||
else:
|
||||
subprocess.run(["auditwheel", "repair", "-w", dest_dir, wheel_file], check=True)
|
||||
|
||||
# DMR: INSPECT THE WHEEL NAUGHTY EVIL DEBUG
|
||||
from pip._internal.models.wheel import Wheel
|
||||
from pip._internal.utils.compatibility_tags import get_supported
|
||||
w = Wheel(wheel_file)
|
||||
tags = get_supported()
|
||||
print(f"{w=} {tags=} {w.supported(tags)=}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(description="Tag wheel as abi3 and repair it.")
|
||||
|
|
Loading…
Reference in a new issue