Skip to content

Commit ac5c3d3

Browse files
committed
Relax cffi requirement on pyodide
1 parent fc4b727 commit ac5c3d3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "cffi >= 1.17.1"]
2+
requires = [
3+
"setuptools",
4+
"wheel",
5+
"cffi >= 1.17.1; platform_system != 'Emscripten'",
6+
"cffi > 1.14.0; platform_system == 'Emscripten'",
7+
]
38
build-backend = "setuptools.build_meta"
49

510
[project]
611
name = "pymunk"
712
version = "6.9.0" # remember to change me for new versions!
813
# Require cffi >1.14.0 since that (and older) has problem with returing structs from functions.
914
# Require cffi >= 1.17.1 since older cant work with latest setuptools version
10-
dependencies = ["cffi >= 1.17.1"]
15+
dependencies = [
16+
"cffi >= 1.17.1; platform_system != 'Emscripten'",
17+
"cffi > 1.14.0; platform_system == 'Emscripten'",
18+
]
1119
authors = [{ name = "Victor Blomqvist", email = "vb@viblo.se" }]
1220
readme = "README.rst"
1321
description = "Pymunk is a easy-to-use pythonic 2D physics library"

0 commit comments

Comments
 (0)