raylib 5.5.0.0.dev3__cp312-cp312-win_amd64.whl → 5.5.0.2__cp312-cp312-win_amd64.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.

pyray/py.typed ADDED
File without changes
raylib/__init__.py CHANGED
@@ -12,12 +12,18 @@
12
12
  #
13
13
  # SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
14
 
15
- from ._raylib_cffi import ffi, lib as rl
15
+ import sys
16
+ try:
17
+ from ._raylib_cffi import ffi, lib as rl
18
+ 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)
22
+ raise
16
23
  from raylib._raylib_cffi.lib import *
17
24
  from raylib.colors import *
18
25
  from raylib.defines import *
19
26
  import cffi
20
- import sys
21
27
  from .version import __version__
22
28
 
23
29
  print("RAYLIB STATIC "+__version__+" LOADED", file=sys.stderr)