Cameron Clough
8d5d810925
Switch to logging in __init__.py
, set load message to debug ( #171 )
...
* Switch to logging in `__init__.py`, set load message to debug
- Replace print statements with logger.error() and logger.warning() 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 warning 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
* use warning rather than debug logging
---------
Co-authored-by: Richard Smith <github@electronstudio.co.uk>
2025-06-04 15:55:41 +01:00
Richard Smith
f551fca1f3
hack stub files because enum from Physac isn't recognised by raylib header parser
2025-05-27 19:54:53 +01:00
Richard Smith
67e6bf2405
add @victorfisac version of Physac
2025-05-03 19:40:15 +01:00
Richard Smith
171177618b
deprecate Physac, see #165
2025-05-03 19:03:36 +01:00
Richard Smith
5593f2e392
add docstrings for structs and enums, fixes issue #159
2025-05-03 18:06:27 +01: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
f9ccd9b58e
update bundled dynamic libs to 5.5
2024-11-19 15:43:06 +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
Richard Smith
ada4b1ca63
update docs and stubs
2024-11-17 01:17:05 +00:00
Richard Smith
a49439135e
automatically export defines, by @ashleysommer
2024-01-22 15:05:29 +00:00
Richard Smith
ac9a681670
update dynamic libs to 5.0
2023-12-21 07:34:46 +00:00
Richard Smith
0cd3515b74
restore missing pyi files
2023-12-21 07:11:31 +00:00
Ashley Sommer
9b48e57bb1
Bump Raylib to v5.0.0, RayGUI 4.0 is designed to be used with RayLib 5, so bump RayGUI too to 4.0.
...
Updated some core examples to match the changes in Raylib-c v5.0.0
2023-12-19 10:49:31 +10:00
Richard Smith
2ee15fa7e5
add fields to static pyi stub
2023-05-22 17:58:58 +01:00
electronstudio
42d6762fbe
update raylib to 4.5
2023-05-22 17:01:19 +01:00
richard
84c7eff4d7
fix PyCharm not finding Color types in .pyi files, fixes https://github.com/electronstudio/raylib-python-cffi/issues/88
2022-09-23 20:06:40 +01:00
richard
3e011b329a
update to raylib 4.2
2022-08-11 21:58:54 +01:00
richard
623c2a6c10
update to raylib 4.2-dev and re-add physac and raygui from their own repos.
2022-06-12 02:08:36 +01:00
richard
e8de1d3b60
fixes for dynamic
2021-11-06 15:54:02 +00:00
richard
a44b33b561
update dynamic and raylib-c to 4.0.0
2021-11-06 15:30:08 +00:00
Pavel Kulyov
77239a0e96
Fix dynamic raylib loading on Windows ( #50 )
2021-10-29 15:29:40 +01:00
richard
ec752bdab7
refactor pyray into separate module
2021-10-08 04:47:58 +01:00
richard
316f0bb1e4
fix dynamic to import exactly the same as static
2021-10-04 16:20:18 +01:00
richard
50c2fb12e2
QOL docs, colors, version number, example imports
2021-10-04 15:56:29 +01:00
electronstudio
9e17046408
improve docs, make clear different APIs and static/dynamic
2021-10-03 23:34:09 +01:00
electronstudio
81819a133a
separate static and dynamic libraries completely
2021-10-03 21:21:59 +01:00