From 1c2ca0b3a519c20a7cd55de3421830c650b8f1d9 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 12 Jun 2021 19:15:08 +0100 Subject: [PATCH] build fixes --- README.md | 5 ++++- raylib/static/build_multi.sh | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2647a1..ef55ee5 100644 --- a/README.md +++ b/README.md @@ -55,12 +55,12 @@ Build pip3 install cffi cd .. + rm -rf build raylib/static/_raylib_cffi.* python3 raylib/static/build.py To update the Linux dynamic libs (names will be different on other platfroms): - cd ../.. rm raylib/dynamic/*.so* cp -P /usr/local/lib/libraylib.so* raylib/dynamic/ @@ -68,6 +68,7 @@ To update the Linux dynamic libs (names will be different on other platfroms): To build a binary wheel distribution: + pip3 install wheel python3 setup.py bdist_wheel and install it: @@ -171,6 +172,8 @@ so you dont even know. Also the static bindings should be faster. Therefore I BUT the dynamic bindings have the big advantage that you don't need to compile anything to install. You just need a Raylib DLL, which we supply for Windows/Mac/Linux. +Currently the DLL is being removed from the pypi packages but still available in the git repo. Could split into its own pypi package if anyone wants it. + See test_dynamic.py for how to use. ## richlib diff --git a/raylib/static/build_multi.sh b/raylib/static/build_multi.sh index b8048e2..59df1a0 100755 --- a/raylib/static/build_multi.sh +++ b/raylib/static/build_multi.sh @@ -5,6 +5,8 @@ then exit fi +pyenv update + function build() { echo "Building for Python $1" pyenv install -s $1