Skip to content

Commit d6dc9e7

Browse files
fix pip failing to do binary build from source
1 parent 05955b5 commit d6dc9e7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def has_ext_modules(foo):
4040
],
4141
packages=["raylib", "pyray"],
4242
include_package_data=True,
43+
setup_requires=["cffi>=1.17.1"],
4344
install_requires=["cffi>=1.17.1"],
4445
distclass=BinaryDistribution,
4546
cffi_modules=["raylib/build.py:ffibuilder"]

0 commit comments

Comments
 (0)