Skip to content

Commit e6861bb

Browse files
committed
license: fix License-File paths in wheels
1 parent fe4d9f4 commit e6861bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/cibw_repair_wheel_licenses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def brackets(s: str) -> str:
196196
raise ValueError("Could not find License-File in METADATA")
197197

198198
index = lines.index(license_files_lines[-1]) + 1
199-
new_lines = [f"License-File: {f}\n" for f in license_files]
199+
new_lines = [f"License-File: {f}\n" for f in license_files.values()]
200200
lines = lines[:index] + new_lines + lines[index:]
201201

202202
print("Writing out METADATA with updated License-Expression and License-File fields")

0 commit comments

Comments
 (0)