Build the CFFI Python extension (_raylib_cffi.so) during wheel build instead of deferring to first import. This eliminates the need for libgl-dev and libx11-dev on the target system. - setup.py: run build.py after build.sh to compile CFFI extension - pyproject.toml: include _raylib_cffi*.so in package-data, bump to 5.5.0.3 - _shim_setup.py: extract .so files from wheel alongside data directory Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
420 B
TOML
17 lines
420 B
TOML
[build-system]
|
|
requires = ["setuptools>=64", "wheel", "cffi>=1.17.1"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "raylib"
|
|
version = "5.5.0.3"
|
|
description = "raylib + pyray Python bindings (commaai fork)"
|
|
requires-python = ">=3.8"
|
|
dependencies = ["cffi>=1.17.1"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["raylib*", "pyray*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
raylib = ["install/**/*", "_raylib_cffi*.so"]
|