Skip to content

Commit 22884df

Browse files
RPI doc update
1 parent bdc4926 commit 22884df

File tree

4 files changed

+17
-24
lines changed

4 files changed

+17
-24
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ Make a folder `my_project` with a file `main.py`:
9292
# /// script
9393
# dependencies = [
9494
# "cffi",
95-
# "inflection",
9695
# "raylib"
9796
# ]
9897
# ///

RPI.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ Please use Raspberry Pi OS Bullseye. Older OSes are not tested.
66
Option 1: Binary wheel
77
----------------------
88

9-
We have published a binary wheel using Raylib in X11 mode. This *should probably* install and work on Bullseye
10-
with
9+
We have published binary wheels compiled for 64-bit Raspberry OS Bullseye in X11 mode.
1110

1211
::
1312

14-
python3.9 -m pip install raylib==4.2.1.2
13+
python -m pip install raylib
1514

16-
If it doesn't work, or you're not on Bullseye, or you want a newer version,
17-
or if you want to use Raylib in ``PLATFORM_DRM`` mode, you will need to compile your own raylib. See below.
15+
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.
1816
For full instructions on this, see https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi . If you need help with this ask Raylib.
1917

2018
Option 2: Compile Raylib from source X11 mode
@@ -40,7 +38,7 @@ Then have pip compile and install the wheel:
4038
sudo apt update
4139
sudo apt install python3-pip
4240
pip3 install setuptools
43-
pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1
41+
pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2
4442

4543
Option 3: Compile Raylib from source DRM mode
4644
---------------------------------------------
@@ -66,7 +64,7 @@ Then have pip compile and install the wheel with some extra linker flags:
6664
sudo apt update
6765
sudo apt install python3-pip
6866
pip3 install setuptools
69-
LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1
67+
LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2
7068

7169

7270

docs/RPI.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Raspberry Pi &mdash; Raylib Python documentation</title>
88
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
99
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10-
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=eafc0fe6" />
10+
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=fd3f3429" />
1111

1212

1313
<!--[if lt IE 9]>
@@ -17,7 +17,7 @@
1717
<script src="_static/jquery.js?v=5d32c60e"></script>
1818
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
1919
<script src="_static/documentation_options.js?v=5929fcd5"></script>
20-
<script src="_static/doctools.js?v=888ff710"></script>
20+
<script src="_static/doctools.js?v=9a2dae69"></script>
2121
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2222
<script src="_static/js/theme.js"></script>
2323
<link rel="index" title="Index" href="genindex.html" />
@@ -99,13 +99,11 @@ <h1>Raspberry Pi<a class="headerlink" href="#raspberry-pi" title="Link to this h
9999
<p>Please use Raspberry Pi OS Bullseye. Older OSes are not tested.</p>
100100
<section id="option-1-binary-wheel">
101101
<h2>Option 1: Binary wheel<a class="headerlink" href="#option-1-binary-wheel" title="Link to this heading"></a></h2>
102-
<p>We have published a binary wheel using Raylib in X11 mode. This <em>should probably</em> install and work on Bullseye
103-
with</p>
104-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python3</span><span class="mf">.9</span> <span class="o">-</span><span class="n">m</span> <span class="n">pip</span> <span class="n">install</span> <span class="n">raylib</span><span class="o">==</span><span class="mf">4.2.1.2</span>
102+
<p>We have published binary wheels compiled for 64-bit Raspberry OS Bullseye in X11 mode.</p>
103+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="o">-</span><span class="n">m</span> <span class="n">pip</span> <span class="n">install</span> <span class="n">raylib</span>
105104
</pre></div>
106105
</div>
107-
<p>If it doesn’t work, or you’re not on Bullseye, or you want a newer version,
108-
or if you want to use Raylib in <code class="docutils literal notranslate"><span class="pre">PLATFORM_DRM</span></code> mode, you will need to compile your own raylib. See below.
106+
<p>If it doesn’t work, or you’re not on Bullseye, or you’re 32 bit, or if you want to use Raylib in <code class="docutils literal notranslate"><span class="pre">PLATFORM_DRM</span></code> mode, you will need to compile your own raylib. See below.
109107
For full instructions on this, see <a class="reference external" href="https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi">https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi</a> . If you need help with this ask Raylib.</p>
110108
</section>
111109
<section id="option-2-compile-raylib-from-source-x11-mode">
@@ -125,7 +123,7 @@ <h2>Option 2: Compile Raylib from source X11 mode<a class="headerlink" href="#op
125123
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span> <span class="n">update</span>
126124
<span class="n">sudo</span> <span class="n">apt</span> <span class="n">install</span> <span class="n">python3</span><span class="o">-</span><span class="n">pip</span>
127125
<span class="n">pip3</span> <span class="n">install</span> <span class="n">setuptools</span>
128-
<span class="n">pip3</span> <span class="n">install</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">cache</span><span class="o">-</span><span class="nb">dir</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">binary</span> <span class="n">raylib</span> <span class="o">--</span><span class="n">upgrade</span> <span class="o">--</span><span class="n">force</span><span class="o">-</span><span class="n">reinstall</span> <span class="n">raylib</span><span class="o">==</span><span class="mf">5.0.0.1</span>
126+
<span class="n">pip3</span> <span class="n">install</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">cache</span><span class="o">-</span><span class="nb">dir</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">binary</span> <span class="n">raylib</span> <span class="o">--</span><span class="n">upgrade</span> <span class="o">--</span><span class="n">force</span><span class="o">-</span><span class="n">reinstall</span> <span class="n">raylib</span><span class="o">==</span><span class="mf">5.0.0.2</span>
129127
</pre></div>
130128
</div>
131129
</section>
@@ -147,7 +145,7 @@ <h2>Option 3: Compile Raylib from source DRM mode<a class="headerlink" href="#op
147145
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span> <span class="n">update</span>
148146
<span class="n">sudo</span> <span class="n">apt</span> <span class="n">install</span> <span class="n">python3</span><span class="o">-</span><span class="n">pip</span>
149147
<span class="n">pip3</span> <span class="n">install</span> <span class="n">setuptools</span>
150-
<span class="n">LDFLAGS</span><span class="o">=</span><span class="s2">&quot;-lgbm -ldrm -lEGL&quot;</span> <span class="n">pip3</span> <span class="n">install</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">cache</span><span class="o">-</span><span class="nb">dir</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">binary</span> <span class="n">raylib</span> <span class="o">--</span><span class="n">upgrade</span> <span class="o">--</span><span class="n">force</span><span class="o">-</span><span class="n">reinstall</span> <span class="n">raylib</span><span class="o">==</span><span class="mf">5.0.0.1</span>
148+
<span class="n">LDFLAGS</span><span class="o">=</span><span class="s2">&quot;-lgbm -ldrm -lEGL&quot;</span> <span class="n">pip3</span> <span class="n">install</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">cache</span><span class="o">-</span><span class="nb">dir</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">binary</span> <span class="n">raylib</span> <span class="o">--</span><span class="n">upgrade</span> <span class="o">--</span><span class="n">force</span><span class="o">-</span><span class="n">reinstall</span> <span class="n">raylib</span><span class="o">==</span><span class="mf">5.0.0.2</span>
151149
</pre></div>
152150
</div>
153151
<div class="admonition attention">

docs/_sources/RPI.rst.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ Please use Raspberry Pi OS Bullseye. Older OSes are not tested.
66
Option 1: Binary wheel
77
----------------------
88

9-
We have published a binary wheel using Raylib in X11 mode. This *should probably* install and work on Bullseye
10-
with
9+
We have published binary wheels compiled for 64-bit Raspberry OS Bullseye in X11 mode.
1110

1211
::
1312

14-
python3.9 -m pip install raylib==4.2.1.2
13+
python -m pip install raylib
1514

16-
If it doesn't work, or you're not on Bullseye, or you want a newer version,
17-
or if you want to use Raylib in ``PLATFORM_DRM`` mode, you will need to compile your own raylib. See below.
15+
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.
1816
For full instructions on this, see https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi . If you need help with this ask Raylib.
1917

2018
Option 2: Compile Raylib from source X11 mode
@@ -40,7 +38,7 @@ Then have pip compile and install the wheel:
4038
sudo apt update
4139
sudo apt install python3-pip
4240
pip3 install setuptools
43-
pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1
41+
pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2
4442

4543
Option 3: Compile Raylib from source DRM mode
4644
---------------------------------------------
@@ -66,7 +64,7 @@ Then have pip compile and install the wheel with some extra linker flags:
6664
sudo apt update
6765
sudo apt install python3-pip
6866
pip3 install setuptools
69-
LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.1
67+
LDFLAGS="-lgbm -ldrm -lEGL" pip3 install --no-cache-dir --no-binary raylib --upgrade --force-reinstall raylib==5.0.0.2
7068

7169

7270

0 commit comments

Comments
 (0)