Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,10 @@ jobs:
shell: cmd

- name: Build raylib
env:
# rlsw.h (software renderer) needs a conformant preprocessor for its
# variadic macro tricks; MSVC's legacy one fails with C1012 on rlsw.h:5276
CL: /Zc:preprocessor
run: |
cd raylib-c
mkdir build
Expand All @@ -863,6 +867,10 @@ jobs:
shell: bash

- name: Build raylib2
env:
# rlsw.h (software renderer) needs a conformant preprocessor for its
# variadic macro tricks; MSVC's legacy one fails with C1012 on rlsw.h:5276
CL: /Zc:preprocessor
run: |
cd raylib-c/build
msbuild raylib.sln /target:raylib /property:Configuration=Release
Expand Down Expand Up @@ -973,6 +981,10 @@ jobs:
shell: cmd

- name: Build raylib
env:
# rlsw.h (software renderer) needs a conformant preprocessor for its
# variadic macro tricks; MSVC's legacy one fails with C1012 on rlsw.h:5276
CL: /Zc:preprocessor
run: |
cd raylib-c
mkdir build
Expand All @@ -989,6 +1001,10 @@ jobs:
shell: bash

- name: Build raylib2
env:
# rlsw.h (software renderer) needs a conformant preprocessor for its
# variadic macro tricks; MSVC's legacy one fails with C1012 on rlsw.h:5276
CL: /Zc:preprocessor
run: |
cd raylib-c/build
msbuild raylib.sln /target:raylib /property:Configuration=Release
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

## Project Overview

This is **raylib-python-cffi** (version 6.0.1.1), Python CFFI bindings for Raylib 6.0 game development library. It provides two main Python modules:
This is **raylib-python-cffi** (version 6.2.0.0), Python CFFI bindings for Raylib 6.2 game development library. It provides two main Python modules:
- `raylib`: Direct C API bindings (exact copy of C functions)
- `pyray`: More Pythonic API wrapper

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Python Bindings for Raylib 6.0
# Python Bindings for Raylib 6.2
## Libraries: raymath, raygui, rlgl, physac and GLFW
## Backends: Desktop, SDL, DRM, Web, Software rendering
## Platforms: Windows, Mac, Linux, Raspberry Pi, Web
Expand All @@ -21,7 +21,7 @@ original Raylib.

# Quickstart

`pip3 install raylib==6.0.1.1 --break-system-packages`
`pip3 install raylib==6.2.0.0 --break-system-packages`
```python
from pyray import *
init_window(800, 450, "Hello")
Expand Down Expand Up @@ -73,7 +73,7 @@ Then make sure you have the latest pip installed:
Then install

python3 -m pip install setuptools
python3 -m pip install raylib==6.0.1.1
python3 -m pip install raylib==6.2.0.0

On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
source, in which case you will need to have Raylib development libs installed, e.g.
Expand All @@ -95,7 +95,7 @@ Older MacOS requires building from source but this is usually simple:

brew install pkg-config
brew install raylib
python3 -m pip install raylib==6.0.1.1
python3 -m pip install raylib==6.2.0.0

## Linux

Expand Down
2 changes: 1 addition & 1 deletion docs/AI_POLICY.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.2</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#quickstart">Quickstart</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#videos">Videos</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#links">Links</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/BUILDING.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.2</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#quickstart">Quickstart</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#videos">Videos</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#links">Links</a></li>
Expand Down
16 changes: 8 additions & 8 deletions docs/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Bindings for Raylib 6.0 &mdash; Raylib Python documentation</title>
<title>Python Bindings for Raylib 6.2 &mdash; Raylib Python documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=9edc463e" />
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=4ae1632d" />
Expand Down Expand Up @@ -45,7 +45,7 @@
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Python Bindings for Raylib 6.0</a><ul>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Python Bindings for Raylib 6.2</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#libraries-raymath-raygui-rlgl-physac-and-glfw">Libraries: raymath, raygui, rlgl, physac and GLFW</a></li>
<li class="toctree-l2"><a class="reference internal" href="#backends-desktop-sdl-drm-web-software-rendering">Backends: Desktop, SDL, DRM, Web, Software rendering</a></li>
<li class="toctree-l2"><a class="reference internal" href="#platforms-windows-mac-linux-raspberry-pi-web">Platforms: Windows, Mac, Linux, Raspberry Pi, Web</a></li>
Expand Down Expand Up @@ -108,7 +108,7 @@
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item active">Python Bindings for Raylib 6.0</li>
<li class="breadcrumb-item active">Python Bindings for Raylib 6.2</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/README.md.txt" rel="nofollow"> View page source</a>
</li>
Expand All @@ -118,8 +118,8 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<section id="python-bindings-for-raylib-6-0">
<h1>Python Bindings for Raylib 6.0<a class="headerlink" href="#python-bindings-for-raylib-6-0" title="Link to this heading"></a></h1>
<section id="python-bindings-for-raylib-6-2">
<h1>Python Bindings for Raylib 6.2<a class="headerlink" href="#python-bindings-for-raylib-6-2" title="Link to this heading"></a></h1>
<section id="libraries-raymath-raygui-rlgl-physac-and-glfw">
<h2>Libraries: raymath, raygui, rlgl, physac and GLFW<a class="headerlink" href="#libraries-raymath-raygui-rlgl-physac-and-glfw" title="Link to this heading"></a></h2>
</section>
Expand All @@ -145,7 +145,7 @@ <h2>Platforms: Windows, Mac, Linux, Raspberry Pi, Web<a class="headerlink" href=
</section>
<section id="quickstart">
<h1>Quickstart<a class="headerlink" href="#quickstart" title="Link to this heading"></a></h1>
<p><code class="docutils literal notranslate"><span class="pre">pip3</span> <span class="pre">install</span> <span class="pre">raylib==6.0.1.1</span> <span class="pre">--break-system-packages</span></code></p>
<p><code class="docutils literal notranslate"><span class="pre">pip3</span> <span class="pre">install</span> <span class="pre">raylib==6.2.0.0</span> <span class="pre">--break-system-packages</span></code></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">pyray</span><span class="w"> </span><span class="kn">import</span> <span class="o">*</span>
<span class="n">init_window</span><span class="p">(</span><span class="mi">800</span><span class="p">,</span> <span class="mi">450</span><span class="p">,</span> <span class="s2">"Hello"</span><span class="p">)</span>
<span class="k">while</span> <span class="ow">not</span> <span class="n">window_should_close</span><span class="p">():</span>
Expand Down Expand Up @@ -192,7 +192,7 @@ <h1>Installation<a class="headerlink" href="#installation" title="Link to this h
</div>
<p>Then install</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>python3 -m pip install setuptools
python3 -m pip install raylib==6.0.1.1
python3 -m pip install raylib==6.2.0.0
</pre></div>
</div>
<p>On most platforms it should install a binary wheel. If yours isn’t available then pip will attempt to build from
Expand All @@ -213,7 +213,7 @@ <h2>MacOS<a class="headerlink" href="#macos" title="Link to this heading"></a
<p>Older MacOS requires building from source but this is usually simple:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>brew install pkg-config
brew install raylib
python3 -m pip install raylib==6.0.1.1
python3 -m pip install raylib==6.2.0.0
</pre></div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/RPI.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.2</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#quickstart">Quickstart</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#videos">Videos</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#links">Links</a></li>
Expand Down
8 changes: 4 additions & 4 deletions docs/_sources/README.md.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Python Bindings for Raylib 6.0
# Python Bindings for Raylib 6.2
## Libraries: raymath, raygui, rlgl, physac and GLFW
## Backends: Desktop, SDL, DRM, Web, Software rendering
## Platforms: Windows, Mac, Linux, Raspberry Pi, Web
Expand All @@ -21,7 +21,7 @@ original Raylib.

# Quickstart

`pip3 install raylib==6.0.1.1 --break-system-packages`
`pip3 install raylib==6.2.0.0 --break-system-packages`
```python
from pyray import *
init_window(800, 450, "Hello")
Expand Down Expand Up @@ -73,7 +73,7 @@ Then make sure you have the latest pip installed:
Then install

python3 -m pip install setuptools
python3 -m pip install raylib==6.0.1.1
python3 -m pip install raylib==6.2.0.0

On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
source, in which case you will need to have Raylib development libs installed, e.g.
Expand All @@ -95,7 +95,7 @@ Older MacOS requires building from source but this is usually simple:

brew install pkg-config
brew install raylib
python3 -m pip install raylib==6.0.1.1
python3 -m pip install raylib==6.2.0.0

## Linux

Expand Down
2 changes: 1 addition & 1 deletion docs/dynamic.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html">Python Bindings for Raylib 6.2</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#quickstart">Quickstart</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#videos">Videos</a></li>
<li class="toctree-l1"><a class="reference internal" href="README.html#links">Links</a></li>
Expand Down
Loading
Loading