raylib 5.5.0.1__cp312-cp312-manylinux2014_aarch64.whl → 5.5.0.3__cp312-cp312-manylinux2014_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of raylib might be problematic. Click here for more details.

raylib/__init__.py CHANGED
@@ -13,18 +13,22 @@
13
13
  # SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
14
 
15
15
  import sys
16
+ import logging
17
+
18
+ logger = logging.getLogger(__name__)
19
+
16
20
  try:
17
21
  from ._raylib_cffi import ffi, lib as rl
18
22
  except ModuleNotFoundError:
19
- print("\n*** ERROR LOADING NATIVE CODE ***\n")
20
- print("See https://github.com/electronstudio/raylib-python-cffi/issues/142\n", file=sys.stderr)
21
- print("Your Python is: "+str(sys.implementation)+"\n", file=sys.stderr)
23
+ logger.error("*** ERROR LOADING NATIVE CODE ***")
24
+ logger.error("See https://github.com/electronstudio/raylib-python-cffi/issues/142")
25
+ logger.error("Your Python is: %s", str(sys.implementation))
22
26
  raise
27
+
23
28
  from raylib._raylib_cffi.lib import *
24
29
  from raylib.colors import *
25
30
  from raylib.defines import *
26
31
  import cffi
27
32
  from .version import __version__
28
33
 
29
- print("RAYLIB STATIC "+__version__+" LOADED", file=sys.stderr)
30
-
34
+ logger.warning("RAYLIB STATIC %s LOADED", __version__)