Skip to content

Commit 28bdac6

Browse files
committed
support comma separate list when using --exclude
1 parent dd3df25 commit 28bdac6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/auditwheel/main_repair.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,11 @@ def execute(args, p):
109109
from .repair import repair_wheel
110110
from .wheel_abi import NonPlatformWheel, analyze_wheel_abi
111111

112-
exclude = frozenset(args.EXCLUDE)
112+
# Split comma separated values and flatten it
113+
exclude = frozenset(
114+
item.strip() for sublist in args.EXCLUDE for item in sublist.split(',')
115+
)
116+
113117
wheel_policy = WheelPolicies()
114118

115119
for wheel_file in args.WHEEL_FILE:

0 commit comments

Comments
 (0)