Skip to content

Commit 590cb43

Browse files
authored
Merge pull request jxmorris12#37 from jayvdb/package_data-str-key
Force str for setuptools package_data key
2 parents d20463b + b84358e commit 590cb43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def get_package_data(value):
258258
if '=' in line:
259259
# package name -- file globs or specs
260260
key, value = line.split('=')
261-
prev = package_data[key.strip()] = value.split()
261+
prev = package_data[str(key.strip())] = value.split()
262262
elif firstline:
263263
# invalid continuation on the first line
264264
raise ValueError(

0 commit comments

Comments
 (0)