From 22884df99f1eae5e868f485a163fabd410f82651 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 10 Jun 2024 17:28:47 +0100 Subject: [PATCH] RPI doc update --- README.md | 1 - RPI.rst | 12 +++++------- docs/RPI.html | 16 +++++++--------- docs/_sources/RPI.rst.txt | 12 +++++------- 4 files changed, 17 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index d9e6398..0f445c0 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,6 @@ Make a folder `my_project` with a file `main.py`: # /// script # dependencies = [ # "cffi", - # "inflection", # "raylib" # ] # /// diff --git a/RPI.rst b/RPI.rst index 8fe2051..a159c7c 100644 --- a/RPI.rst +++ b/RPI.rst @@ -6,15 +6,13 @@ Please use Raspberry Pi OS Bullseye. Older OSes are not tested. Option 1: Binary wheel ---------------------- -We have published a binary wheel using Raylib in X11 mode. This *should probably* install and work on Bullseye -with +We have published binary wheels compiled for 64-bit Raspberry OS Bullseye in X11 mode. :: - python3.9 -m pip install raylib==4.2.1.2 + python -m pip install raylib -If it doesn't work, or you're not on Bullseye, or you want a newer version, -or if you want to use Raylib in ``PLATFORM_DRM`` mode, you will need to compile your own raylib. See below. +If it doesn't work, or you're not on Bullseye, or you're 32 bit, or if you want to use Raylib in ``PLATFORM_DRM`` mode, you will need to compile your own raylib. See below. For full instructions on this, see https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi . If you need help with this ask Raylib. Option 2: Compile Raylib from source X11 mode @@ -40,7 +38,7 @@ Then have pip compile and install the wheel: sudo apt update sudo apt install python3-pip pip3 install setuptools - pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1 + pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2 Option 3: Compile Raylib from source DRM mode --------------------------------------------- @@ -66,7 +64,7 @@ Then have pip compile and install the wheel with some extra linker flags: sudo apt update sudo apt install python3-pip pip3 install setuptools - LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1 + LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2 diff --git a/docs/RPI.html b/docs/RPI.html index f0e13f7..0c0edfb 100644 --- a/docs/RPI.html +++ b/docs/RPI.html @@ -7,7 +7,7 @@ Raspberry Pi — Raylib Python documentation - +