Skip to content

Commit a5cdd79

Browse files
committed
fix: failed to parse pyproject.toml file
Python `toml` version 0.10.0 (the older version pip 20 uses) doesn't support homogeneous arrays See #455 (comment)
1 parent ff21692 commit a5cdd79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ packages = [
99
]
1010
include = [
1111
# Linux and macOS
12-
"python/pythonmonkey/pythonmonkey.so",
13-
"python/pythonmonkey/libmozjs*",
12+
{ path = "python/pythonmonkey/pythonmonkey.so", format = ["sdist", "wheel"] },
13+
{ path = "python/pythonmonkey/libmozjs*", format = ["sdist", "wheel"] },
1414

1515
# Windows
16-
"python/pythonmonkey/pythonmonkey.pyd",
17-
"python/pythonmonkey/mozjs-*.dll",
16+
{ path = "python/pythonmonkey/pythonmonkey.pyd", format = ["sdist", "wheel"] },
17+
{ path = "python/pythonmonkey/mozjs-*.dll", format = ["sdist", "wheel"] },
1818

1919
# include all files for source distribution
2020
{ path = "src", format = "sdist" },

0 commit comments

Comments
 (0)