Skip to content

Commit 11d19ab

Browse files
committed
fix: restore wheel repair behavior for non-Windows builds
1 parent 294e1e1 commit 11d19ab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ def run(self):
197197
if os.environ.get('NO_REPAIR', '0') == '1':
198198
print("Skipping wheel repair")
199199
return
200-
# if os.environ.get('CIBUILDWHEEL', '0') == '0' or sys.platform.startswith('win'):
201-
if sys.platform.startswith('win'):
200+
if os.environ.get('CIBUILDWHEEL', '0') == '0' or sys.platform.startswith('win'):
202201
# for linux and macos we use the default wheel repair command from cibuildwheel, for windows we need to do it manually as there is no repair command
203202
self.repair_wheel()
204203

0 commit comments

Comments
 (0)