2.5.0post2
This commit is contained in:
parent
b093d1f632
commit
7262e4fa2e
2 changed files with 4 additions and 3 deletions
|
@ -8,11 +8,13 @@ New CFFI API static bindings. Faster, fewer bugs and easier to maintain than ct
|
||||||
|
|
||||||
**MacOS: Python 3.5 - 3.7**
|
**MacOS: Python 3.5 - 3.7**
|
||||||
|
|
||||||
|
**Linux (Ubuntu 16.04+): Python 3.5 - 3.7**
|
||||||
|
|
||||||
We distribute a statically linked Raylib library, install from Pypi.
|
We distribute a statically linked Raylib library, install from Pypi.
|
||||||
|
|
||||||
pip3 install raylib
|
pip3 install raylib
|
||||||
|
|
||||||
If you're using **Linux**, or a different version of Python, or maybe Windows/Mac 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.5 then
|
and install Raylib 2.5 then
|
||||||
|
|
||||||
|
@ -69,7 +71,6 @@ prl.init_window(800, 450, "Hello Pyray")
|
||||||
prl.set_target_fps(60)
|
prl.set_target_fps(60)
|
||||||
|
|
||||||
camera = prl.Camera3D([18.0, 16.0, 18.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], 45.0, 0)
|
camera = prl.Camera3D([18.0, 16.0, 18.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], 45.0, 0)
|
||||||
image = prl.load_image("examples/models/resources/heightmap.png")
|
|
||||||
prl.set_camera_mode(camera, prl.CAMERA_ORBITAL)
|
prl.set_camera_mode(camera, prl.CAMERA_ORBITAL)
|
||||||
|
|
||||||
while not prl.window_should_close():
|
while not prl.window_should_close():
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -10,7 +10,7 @@ README = (HERE / "README.md").read_text()
|
||||||
# This call to setup() does all the work
|
# This call to setup() does all the work
|
||||||
setup(
|
setup(
|
||||||
name="raylib",
|
name="raylib",
|
||||||
version="2.5.0.post1",
|
version="2.5.0.post2",
|
||||||
description="Python CFFI bindings for Raylib",
|
description="Python CFFI bindings for Raylib",
|
||||||
long_description=README,
|
long_description=README,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|
Reference in a new issue