From 657a63e335ef09a310d4a6716a7403ff375f81ad Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 16 Jan 2021 18:00:45 +0000 Subject: [PATCH 1/3] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 769ef65..f1a4cab 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,10 @@ Build cd static pip3 install cffi python3 build_linux.py + +To build a complete set of libs for Python 3.6, 3.7, 3.8 and 3.9: + + ./build_linux_multi.sh # Use @@ -140,5 +144,4 @@ See test_dynamic.py for how to use. * converting more examples from C to python * testing and building on more platforms * sorting out binary wheel distribution for Mac/Win and compile-from-source distributtion for Linux - * dealing with conversions to pointers in PyRay automatically From 70de7123f39761747c4070c7e55d06112957b008 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 16 Jan 2021 18:24:41 +0000 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1a4cab..d22fe3d 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Build and install Raylib from the raylib-c directory. cd raylib-python-cffi/raylib-c mkdir build cd build - cmake -DWITH_PIC=on .. + cmake -DWITH_PIC=on -DSTATIC=on -DSHARED=on .. sudo make install Make a patched version of raylib header. From daf8d552827d3b26e10a3d710ccb2a55d2b23859 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 16 Jan 2021 18:30:23 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d22fe3d..085b431 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Python Bindings for Raylib 3.x +# Python Bindings for Raylib 3.5 New CFFI API static bindings. Faster, fewer bugs and easier to maintain than ctypes. @@ -57,6 +57,12 @@ Build To build a complete set of libs for Python 3.6, 3.7, 3.8 and 3.9: ./build_linux_multi.sh + +To update the dynamic libs too: + + cd ../.. + rm raylib/dynamic/*.so* + cp --preserve=links /usr/local/lib/libraylib.so* raylib/dynamic/ # Use