We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770b844 commit 2774d2fCopy full SHA for 2774d2f
setup.py
@@ -514,13 +514,13 @@ def run(self):
514
self.copy_file(str(so_src), str(so_dst))
515
print(f"Copied Qualcomm backend: {so_src} -> {so_dst}")
516
517
- # Remove Qualcomm SDK .so so they don’t get packaged
+ # Remove Qualcomm SDK completely so it doesn’t get packaged
518
if os.path.exists(SDK_DIR):
519
- for root, dirs, files in os.walk(SDK_DIR):
520
- for f in files:
521
- if f.endswith(".so"):
522
- os.remove(os.path.join(root, f))
523
- print(f"Removed SDK .so from wheel package: {f}")
+ try:
+ shutil.rmtree(SDK_DIR)
+ print(f"Removed Qualcomm SDK folder: {SDK_DIR}")
+ except Exception as e:
+ print(f"Failed to remove SDK_DIR {SDK_DIR}: {e}")
524
525
so_files = [
526
(
0 commit comments