update readme

This commit is contained in:
Richard Smith 2020-11-16 06:52:12 +00:00
parent 5d5c38a154
commit 9e8d6d3dd6

View file

@ -1,4 +1,4 @@
# Python Bindings for Raylib 2.6 # Python Bindings for Raylib 3.x
New CFFI API static bindings. Faster, fewer bugs and easier to maintain than ctypes. New CFFI API static bindings. Faster, fewer bugs and easier to maintain than ctypes.
@ -8,6 +8,8 @@ New CFFI API static bindings. Faster, fewer bugs and easier to maintain than ct
# Install # Install
## Install from Pypi (easiest)
**Windows 10 (64 bit): Python 3.6 - 3.8** **Windows 10 (64 bit): Python 3.6 - 3.8**
**MacOS: Python 3.6 - 3.8** **MacOS: Python 3.6 - 3.8**
@ -18,9 +20,16 @@ We distribute a statically linked Raylib library, install from Pypi.
pip3 install raylib pip3 install raylib
## Install from github
The version on Pypi may not always be up to date. If you want to test the very latest version,
clone the git repo and make a symlink to the `raylib` directory in your current project directory.
## Build from source
If you're a different version of Python, or a Linux with incompatible libraries If you're a different version of Python, or a Linux with incompatible libraries
then you can either *use the dynamic binding only* or else you will have to build from source. Download, compile then you can either *use the dynamic binding only* or else you will have to build from source. Download, compile
and install Raylib 2.6 then and install Raylib then
cd raylib/static cd raylib/static
python3 build_linux.py python3 build_linux.py