diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7881841..3876c54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: runs-on: macos-10.15 strategy: matrix: - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11.0-alpha - 3.11.0', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 @@ -164,7 +164,7 @@ jobs: # You can use PyPy versions in python-version. # For example, pypy2 and pypy3 matrix: - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11.0-alpha - 3.11.0', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 @@ -208,36 +208,36 @@ jobs: path: dist/* - build-rpi: - runs-on: rpi - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - with: - submodules: recursive - - - name: Build raylib - run: | - cd raylib-c - mkdir build - cd build - cmake -DBUILD_EXAMPLES=off -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release -DOpenGL_GL_PREFERENCE=GLVND .. - make -j2 - make install - - name: Copy extras - run: | - cp physac/src/physac.h /usr/local/include/ - cp raygui/src/raygui.h /usr/local/include/ - - - name: Build raylib-python-cffi - run: | - python3 setup.py bdist_wheel - - - name: Upload build Artifact wheel - uses: actions/upload-artifact@v2.2.4 - with: - name: wheel - path: dist/* +# build-rpi: +# runs-on: rpi +# steps: +# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it +# - uses: actions/checkout@v2 +# with: +# submodules: recursive +# +# - name: Build raylib +# run: | +# cd raylib-c +# mkdir build +# cd build +# cmake -DBUILD_EXAMPLES=off -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release -DOpenGL_GL_PREFERENCE=GLVND .. +# make -j2 +# make install +# - name: Copy extras +# run: | +# cp physac/src/physac.h /usr/local/include/ +# cp raygui/src/raygui.h /usr/local/include/ +# +# - name: Build raylib-python-cffi +# run: | +# python3 setup.py bdist_wheel +# +# - name: Upload build Artifact wheel +# uses: actions/upload-artifact@v2.2.4 +# with: +# name: wheel +# path: dist/* build-windows: # The type of runner that the job will run on @@ -246,7 +246,7 @@ jobs: # You can use PyPy versions in python-version. # For example, pypy2 and pypy3 matrix: - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11.0-alpha - 3.11.0', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 08a9299..61a1257 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Python Bindings for Raylib 4.2 +# Python Bindings for Raylib 4.5 New CFFI API static bindings. * Automatically generated to be as close as possible to diff --git a/docs-src/raylib.rst b/docs-src/raylib.rst index 76b4005..b3119dd 100644 --- a/docs-src/raylib.rst +++ b/docs-src/raylib.rst @@ -15,10 +15,9 @@ Example program: SetTargetFPS(60) camera = ffi.new("struct Camera3D *", [[18.0, 16.0, 18.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], 45.0, 0]) - SetCameraMode(camera[0], CAMERA_ORBITAL) while not WindowShouldClose(): - UpdateCamera(camera) + UpdateCamera(camera, CAMERA_ORBITAL) BeginDrawing() ClearBackground(RAYWHITE) BeginMode3D(camera[0]) diff --git a/docs/.buildinfo b/docs/.buildinfo index ef463aa..a1b2a31 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 999398ae0ca6fd9fb3a4ff0f644e1a93 +config: d3f6c06ab2f036ecf2386ff26e8dd625 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/BUILDING.html b/docs/BUILDING.html index f8c3290..7805e95 100644 --- a/docs/BUILDING.html +++ b/docs/BUILDING.html @@ -1,7 +1,7 @@
- +