update docs

This commit is contained in:
richard 2022-02-04 11:11:14 +00:00
parent ef91af804b
commit d05890344d
19 changed files with 725 additions and 172 deletions

View file

@ -4,16 +4,30 @@ Building from source
Have Pip build from source
--------------------------
Useful if the binaries dont work on your system, or you want to use a newer version of Raylib.
This is useful if the binaries dont work on your system, or you want to use a newer version of Raylib.
Make sure Raylib is installed and then:
First make sure Raylib is installed. On Linux/Mac it must include the pkg-config files. Best way to ensure this
is to compile and install Raylib using CMake: https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux#build-raylib-using-cmake
::
cd raylib-4.0.0
mkdir build
cd build
cmake -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install
Then ask Pip to build from source:
::
pip3 install --no-binary raylib --upgrade --force-reinstall raylib
Build from source manually
--------------------------
Or, Build from source manually
------------------------------
Useful if the Pip build doesnt work and you want to debug it, or you want to contribute to the
project.
@ -22,7 +36,7 @@ project.
If the Pip build doesnt work, please submit a bug. (And if you have
fixed it, a PR.)
Manual instructions follow, but see also how we actually build the wheels
Manual instructions follow, but may be outdated, so see also how we actually build the wheels
at https://github.com/electronstudio/raylib-python-cffi/blob/master/.github/workflows/build.yml
Windows manual build
@ -207,6 +221,10 @@ Build and install module.
Raspberry Pi
~~~~~~~~~~~~
Latest info: https://github.com/electronstudio/raylib-python-cffi/issues/55#issuecomment-1012629701
Old possibly out of date info that was written for RPi3 and Raylib 3 follows.
The integrated GPU hardware in a Raspberry Pi (“VideoCore”) is rather
idiosyncratic, resulting in a complex set of software options. Probably
the most interesting two options for Raylib applications are:

View file

@ -1,4 +1,4 @@
# Python Bindings for Raylib 4.0-dev
# Python Bindings for Raylib 4.0.0
New CFFI API static bindings.
* Automatically generated to be as close as possible to
@ -51,7 +51,7 @@ There is now a separate dynamic version of this binding:
## Beta testing
You can install an alpha or beta version by specifying the version number like this:
You can install an alpha or beta version by specifying the exact version number like this:
python3 -m pip install raylib==4.0a6
@ -68,8 +68,11 @@ Use [the C API](https://electronstudio.github.io/raylib-python-cffi/raylib.html)
Use [the Python API](https://electronstudio.github.io/raylib-python-cffi/pyray.html).
# App showcase
[Tanki](https://github.com/pkulev/tanki)
Add your app here!
# RLZero