raylib 5.5.0.3rc1__cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.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 ADDED
@@ -0,0 +1,34 @@
1
+ # Copyright (c) 2021 Richard Smith and others
2
+ #
3
+ # This program and the accompanying materials are made available under the
4
+ # terms of the Eclipse Public License 2.0 which is available at
5
+ # http://www.eclipse.org/legal/epl-2.0.
6
+ #
7
+ # This Source Code may also be made available under the following Secondary
8
+ # licenses when the conditions for such availability set forth in the Eclipse
9
+ # Public License, v. 2.0 are satisfied: GNU General Public License, version 2
10
+ # with the GNU Classpath Exception which is
11
+ # available at https://www.gnu.org/software/classpath/license.html.
12
+ #
13
+ # SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+
15
+ import sys
16
+ import logging
17
+
18
+ logger = logging.getLogger(__name__)
19
+
20
+ try:
21
+ from ._raylib_cffi import ffi, lib as rl
22
+ except ModuleNotFoundError:
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))
26
+ raise
27
+
28
+ from raylib._raylib_cffi.lib import *
29
+ from raylib.colors import *
30
+ from raylib.defines import *
31
+ import cffi
32
+ from .version import __version__
33
+
34
+ logger.warning("RAYLIB STATIC %s LOADED", __version__)