Richard Smith
7d6ce1864a
use warning rather than debug logging
2025-05-05 16:19:59 +01:00
Cameron Clough
9e71019f2d
Switch to logging in __init__.py
, set load message to debug
...
- Replace print statements with logger.error() and logger.debug() calls.
- Follow best practices by using a module-specific logger via
getLogger(__name__).
- Use parameterized log messages to avoid unnecessary string formatting.
- Change the "RAYLIB STATIC x.x.x LOADED" message from direct stderr
output to logger debug level.
Motivation:
In [commaai/openpilot#35076 ][openpilot-issue], we experienced noisy test
outputs because the RAYLIB STATIC message is printed unnecessarily,
cluttering stderr. This change allows library consumers to control the
visibility of this message.
[openpilot-issue]: https://github.com/commaai/openpilot/issues/35076
2025-04-27 23:16:27 +01:00
Richard Smith
56d06bdf32
github dependents
2025-04-07 11:02:38 +01:00
Richard Smith
22af40317d
stupid github forcing changes
2025-02-12 03:57:40 +00:00
Richard Smith
8a45dfad6d
pypy 3.11 build
2025-02-12 02:43:56 +00:00
Richard Smith
32061daadb
update docs
2025-02-12 02:43:35 +00:00
Richard Smith
4bdd922417
Update setup.py for stupid github depedancy tracking
2025-01-28 18:18:36 +00:00
Richard Smith
bf1622c5c2
add example by @Lightnet
2025-01-12 13:59:32 +00:00
Richard Smith
d6ba624c6e
fix missing mac builds
2025-01-04 20:09:34 +00:00
Richard Smith
2c79346ae2
try macos 13 build since 12 deprecated
2024-12-09 17:23:25 +00:00
Richard Smith
94958bbdc2
make github track dependents
2024-12-09 17:11:45 +00:00
Richard Smith
89d56a730f
increase version
2024-11-24 13:24:47 +00:00
Richard Smith
6483b53cf3
fix dynamic raylib header being different from static header by making it a link
2024-11-24 13:18:36 +00:00
Richard Smith
8af441f49f
please github track our dependants again
2024-11-24 12:38:14 +00:00
Richard Smith
ef15347c17
increase version
2024-11-23 10:45:40 +00:00
Richard Smith
3c5dcca431
try to fool github into tracking our dependents again
2024-11-21 11:44:43 +00:00
Richard Smith
f9ccd9b58e
update bundled dynamic libs to 5.5
2024-11-19 15:43:06 +00:00
Richard Smith
a826414a74
update docs
2024-11-19 15:35:54 +00:00
Richard Smith
bf6d5d421c
fix how regex inserts underscore in function names with '2d' and '3d' ( #149 )
2024-11-19 12:24:58 +00:00
Richard Smith
9e5c9b7f9f
Sdl backend ( #140 )
...
* latest raylib version
* add libwayland-dev
* update headers
* add libxkbcommon-dev
* sdl
* sdl dl
* sdl dl
* sdl2 link flags
* remove glfw header
* try static sdl build
* try to set fpic
* install alsa etc before building sdl
* windows
* fix
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try mac
* try mac
* try mac
* try mac
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* update raylib
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* try
* update to 5.5
* dont link x11 if using DRM
* update to fixed raylib version
2024-11-19 12:05:28 +00:00
Richard Smith
d28fa38e9f
fix missing defines
2024-11-17 03:32:02 +00:00
Richard Smith
697029fc6a
include py.typed in MANIFEST rather than setup
2024-11-17 01:24:57 +00:00
Martin Kuntz Jacobsen
623b9c12cc
Adds py.typed for typing support according to pep 561 ( #135 )
2024-11-17 01:19:19 +00:00
Richard Smith
ada4b1ca63
update docs and stubs
2024-11-17 01:17:05 +00:00
Richard Smith
e6f2c188db
generate type stubs which are sufficiently self-consistent to run mypy on all the examples
2024-11-17 01:17:05 +00:00
Richard Smith
a33f4fcc9a
update examples
2024-11-17 01:17:05 +00:00
Richard Smith
4071263a59
add shaders_write_depth example
2024-10-07 18:06:39 +01:00
Richard Smith
fde8354a8a
Example OO wrapper around the Vector2 struct, by @Emtyloc
2024-10-07 17:25:53 +01:00
Richard Smith
c9a5ec09e3
give useful error when native DLL isnt found
2024-10-01 00:48:58 +01:00
Richard Smith
15ea1dc79b
add the modified header files to the source distro to make building on windows easier
2024-09-20 16:27:11 +01:00
Richard Smith
035830b567
update github actions/upload-artifact since old version no longer works
2024-09-20 15:27:15 +01:00
Richard Smith
d6dc9e7d5c
fix pip failing to do binary build from source
2024-09-20 15:23:58 +01:00
Richard Smith
05955b5ef1
cffi 1.17.1
2024-09-05 10:00:34 +01:00
Richard Smith
df2bbccb1f
update RPI instructions to build shared lib for DRM because we dont currently add required flags to for static lib to find EGL library
2024-08-03 13:20:30 +01:00
Richard Smith
252fc29c18
Disable use of Py_LIMITED_API. Py_LIMITED_API already didn't work reliably - we had to do builds for every Python version to ensure they would all work. So removing it shouldn't cause problems, and it may increase performance and may allow running on free-threading Python.
2024-07-10 00:48:10 +01:00
Richard Smith
7af2922eb3
update docs
2024-07-02 15:43:33 +01:00
Richard Smith
57da96d576
github macos 13 doesnt work either
2024-07-02 14:26:00 +01:00
Richard Smith
c80cc59166
cirrus doesnt support macos 13 any more, so try it on github
2024-07-02 14:19:14 +01:00
Richard Smith
d6d0b50e80
allow building without glfw headers
2024-07-02 13:54:18 +01:00
Richard Smith
43630d8b5a
docs update
2024-07-02 09:58:07 +01:00
Richard Smith
812f0f7527
macos 11 runner doesnt work, upgrade to 12
2024-07-02 09:57:49 +01:00
Richard Smith
599c74af0b
version bump
2024-07-01 14:31:58 +01:00
Richard Smith
147e9f882a
fix some typehints for lists (not sure why wasnt updated when pyray/__init__.pyi was?)
2024-07-01 14:31:42 +01:00
Richard Smith
0ea3f1b3f6
pyray return more useful errors when types are wrong
2024-07-01 14:20:57 +01:00
Richard Smith
1799c58ca5
update examples
2024-07-01 14:18:55 +01:00
Richard Smith
ea29d96ff9
fix building low quality raylib code on linux gcc
2024-07-01 14:17:13 +01:00
Richard Smith
3260a18e7d
Typehints for colours ( #131 )
2024-07-01 11:11:35 +01:00
Richard Smith
edfd75af8d
Optimisation ( #127 )
2024-07-01 11:06:56 +01:00
Richard Smith
22884df99f
RPI doc update
2024-06-10 17:28:47 +01:00
Richard Smith
bdc49267e2
update CI with python 3.13 and raspberry pi builds ( #130 )
2024-06-09 13:11:45 +01:00