Skip to content

Commit

Permalink
Relax cffi requirement on pyodide
Browse files Browse the repository at this point in the history
  • Loading branch information
viblo committed Dec 16, 2024
1 parent fc4b727 commit ac5c3d3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
[build-system]
requires = ["setuptools", "wheel", "cffi >= 1.17.1"]
requires = [
"setuptools",
"wheel",
"cffi >= 1.17.1; platform_system != 'Emscripten'",
"cffi > 1.14.0; platform_system == 'Emscripten'",
]
build-backend = "setuptools.build_meta"

[project]
name = "pymunk"
version = "6.9.0" # remember to change me for new versions!
# Require cffi >1.14.0 since that (and older) has problem with returing structs from functions.
# Require cffi >= 1.17.1 since older cant work with latest setuptools version
dependencies = ["cffi >= 1.17.1"]
dependencies = [
"cffi >= 1.17.1; platform_system != 'Emscripten'",
"cffi > 1.14.0; platform_system == 'Emscripten'",
]
authors = [{ name = "Victor Blomqvist", email = "[email protected]" }]
readme = "README.rst"
description = "Pymunk is a easy-to-use pythonic 2D physics library"
Expand Down

0 comments on commit ac5c3d3

Please sign in to comment.