Skip to content

Commit

Permalink
fix: failed to parse pyproject.toml file
Browse files Browse the repository at this point in the history
Python `toml` version 0.10.0 (the older version pip 20 uses) doesn't support homogeneous arrays

See #455 (comment)
  • Loading branch information
Xmader committed Nov 29, 2024
1 parent ff21692 commit a5cdd79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ packages = [
]
include = [
# Linux and macOS
"python/pythonmonkey/pythonmonkey.so",
"python/pythonmonkey/libmozjs*",
{ path = "python/pythonmonkey/pythonmonkey.so", format = ["sdist", "wheel"] },
{ path = "python/pythonmonkey/libmozjs*", format = ["sdist", "wheel"] },

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

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

0 comments on commit a5cdd79

Please sign in to comment.