raylib 5.5.0.2__tar.gz → 5.5.0.3rc1__tar.gz

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.

Files changed (33) hide show
  1. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/PKG-INFO +34 -14
  2. raylib-5.5.0.2/raylib.egg-info/PKG-INFO → raylib-5.5.0.3rc1/README.md +23 -28
  3. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/pyproject.toml +1 -1
  4. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/pyray/__init__.py +1 -1
  5. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/pyray/__init__.pyi +2274 -2203
  6. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/__init__.py +9 -5
  7. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/__init__.pyi +2176 -2156
  8. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/build.py +107 -41
  9. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/defines.py +2 -4
  10. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/enums.py +40 -0
  11. raylib-5.5.0.3rc1/raylib/physac.h.modified +171 -0
  12. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/raygui.h.modified +2 -2
  13. raylib-5.5.0.3rc1/raylib/version.py +1 -0
  14. raylib-5.5.0.2/README.md → raylib-5.5.0.3rc1/raylib.egg-info/PKG-INFO +48 -10
  15. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/setup.py +1 -4
  16. raylib-5.5.0.3rc1/version.py +1 -0
  17. raylib-5.5.0.2/raylib/physac.h.modified +0 -165
  18. raylib-5.5.0.2/raylib/version.py +0 -1
  19. raylib-5.5.0.2/version.py +0 -1
  20. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/LICENSE +0 -0
  21. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/MANIFEST.in +0 -0
  22. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/pyray/py.typed +0 -0
  23. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/colors.py +0 -0
  24. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/glfw3.h.modified +0 -0
  25. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/py.typed +0 -0
  26. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/raylib.h.modified +0 -0
  27. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/raymath.h.modified +0 -0
  28. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib/rlgl.h.modified +0 -0
  29. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib.egg-info/SOURCES.txt +0 -0
  30. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib.egg-info/dependency_links.txt +0 -0
  31. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib.egg-info/requires.txt +0 -0
  32. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/raylib.egg-info/top_level.txt +0 -0
  33. {raylib-5.5.0.2 → raylib-5.5.0.3rc1}/setup.cfg +0 -0
@@ -1,12 +1,10 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: raylib
3
- Version: 5.5.0.2
3
+ Version: 5.5.0.3rc1
4
4
  Summary: Python CFFI bindings for Raylib
5
5
  Home-page: https://github.com/electronstudio/raylib-python-cffi
6
6
  Author: Electron Studio
7
7
  Author-email: github@electronstudio.co.uk
8
- License: EPL-2.0
9
- Classifier: License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)
10
8
  Classifier: Programming Language :: Python :: 3
11
9
  Classifier: Programming Language :: Python :: 3.13
12
10
  Classifier: Programming Language :: Python :: 3.12
@@ -15,6 +13,15 @@ Classifier: Programming Language :: Python :: 3.10
15
13
  Description-Content-Type: text/markdown
16
14
  License-File: LICENSE
17
15
  Requires-Dist: cffi>=1.17.1
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license-file
23
+ Dynamic: requires-dist
24
+ Dynamic: summary
18
25
 
19
26
  # Python Bindings for Raylib 5.5
20
27
  ## Libraries: raymath, raygui, rlgl, physac and GLFW
@@ -23,8 +30,6 @@ Requires-Dist: cffi>=1.17.1
23
30
 
24
31
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/raylib)
25
32
 
26
- Chatroom: [Discord](https://discord.gg/fKDwt85aX6)
27
-
28
33
  HELP WANTED: [writing examples](https://github.com/electronstudio/raylib-python-cffi/issues/155)
29
34
 
30
35
  Features:
@@ -37,12 +42,9 @@ original Raylib.
37
42
  * Docstrings and auto-completion.
38
43
  * Type checking with Mypy
39
44
 
40
-
41
- [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
42
-
43
45
  # Quickstart
44
46
 
45
- `pip3 install raylib==5.5.0.0`
47
+ `pip3 install raylib==5.5.0.2 --break-system-packages`
46
48
  ```python
47
49
  from pyray import *
48
50
  init_window(800, 450, "Hello")
@@ -54,16 +56,34 @@ while not window_should_close():
54
56
  close_window()
55
57
  ```
56
58
 
59
+ # Links
60
+
61
+ * [Tutorial video](https://www.youtube.com/watch?v=UoAsDlUwjy0&lc=UgxCR-tvnQJITZr2IvN4AaABAg)
62
+ * [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
63
+ * [Imgui integration](https://github.com/Scr44gr/raylib-imgui)
64
+ * [Examples](https://github.com/electronstudio/raylib-python-cffi/tree/master/examples)
65
+ * [Blep's examples](https://github.com/blep/pyray_examples)
66
+ * [Raylib Python Discord](https://discord.gg/fKDwt85aX6)
67
+ * [Raylib General Discord](https://discord.com/invite/raylib)
68
+ * [Python video player](https://github.com/anrayliu/pyvidplayer2)
69
+ * [A Vector2 class](https://github.com/electronstudio/raylib-python-cffi/blob/master/examples/extra/vector2_extended.py)
70
+ * [Raylib C FAQ](https://github.com/raysan5/raylib/wiki/Frequently-Asked-Questions/)
71
+
57
72
  # Installation
58
73
 
59
- First make sure you have the latest pip installed:
74
+ If you are on a modern Linux you will probably want to create a venv:
75
+
76
+ python3 -m venv venv
77
+ source venv/bin/activate
78
+
79
+ Then make sure you have the latest pip installed:
60
80
 
61
81
  python3 -m pip install --upgrade pip
62
82
 
63
83
  Then install
64
84
 
65
85
  python3 -m pip install setuptools
66
- python3 -m pip install raylib==5.5.0.0
86
+ python3 -m pip install raylib==5.5.0.2
67
87
 
68
88
  On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
69
89
  source, in which case you will need to have Raylib development libs installed, e.g.
@@ -85,7 +105,7 @@ Older MacOS requires building from source but this is usually simple:
85
105
 
86
106
  brew install pkg-config
87
107
  brew install raylib
88
- python3 -m pip install raylib==5.5.0.0
108
+ python3 -m pip install raylib==5.5.0.2
89
109
 
90
110
  (I do have binaries for arm64 MacOS 11, 12 and 13 but I have no way of testing they work, so post an issue
91
111
  if you want to test them.)
@@ -199,7 +219,7 @@ Point your browser to http://localhost:8000
199
219
  Some features may not work, so you can disable them like this:
200
220
 
201
221
  ```python
202
- if platform.system() != "Emscripten": # audio does not work on current version of emscripten
222
+ if platform.system() != "Emscripten": # audio may not work on current version of emscripten
203
223
  init_audio_device()
204
224
  ```
205
225
 
@@ -1,21 +1,3 @@
1
- Metadata-Version: 2.1
2
- Name: raylib
3
- Version: 5.5.0.2
4
- Summary: Python CFFI bindings for Raylib
5
- Home-page: https://github.com/electronstudio/raylib-python-cffi
6
- Author: Electron Studio
7
- Author-email: github@electronstudio.co.uk
8
- License: EPL-2.0
9
- Classifier: License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.13
12
- Classifier: Programming Language :: Python :: 3.12
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.10
15
- Description-Content-Type: text/markdown
16
- License-File: LICENSE
17
- Requires-Dist: cffi>=1.17.1
18
-
19
1
  # Python Bindings for Raylib 5.5
20
2
  ## Libraries: raymath, raygui, rlgl, physac and GLFW
21
3
  ## Backends: Desktop, SDL, DRM, Web
@@ -23,8 +5,6 @@ Requires-Dist: cffi>=1.17.1
23
5
 
24
6
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/raylib)
25
7
 
26
- Chatroom: [Discord](https://discord.gg/fKDwt85aX6)
27
-
28
8
  HELP WANTED: [writing examples](https://github.com/electronstudio/raylib-python-cffi/issues/155)
29
9
 
30
10
  Features:
@@ -37,12 +17,9 @@ original Raylib.
37
17
  * Docstrings and auto-completion.
38
18
  * Type checking with Mypy
39
19
 
40
-
41
- [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
42
-
43
20
  # Quickstart
44
21
 
45
- `pip3 install raylib==5.5.0.0`
22
+ `pip3 install raylib==5.5.0.2 --break-system-packages`
46
23
  ```python
47
24
  from pyray import *
48
25
  init_window(800, 450, "Hello")
@@ -54,16 +31,34 @@ while not window_should_close():
54
31
  close_window()
55
32
  ```
56
33
 
34
+ # Links
35
+
36
+ * [Tutorial video](https://www.youtube.com/watch?v=UoAsDlUwjy0&lc=UgxCR-tvnQJITZr2IvN4AaABAg)
37
+ * [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
38
+ * [Imgui integration](https://github.com/Scr44gr/raylib-imgui)
39
+ * [Examples](https://github.com/electronstudio/raylib-python-cffi/tree/master/examples)
40
+ * [Blep's examples](https://github.com/blep/pyray_examples)
41
+ * [Raylib Python Discord](https://discord.gg/fKDwt85aX6)
42
+ * [Raylib General Discord](https://discord.com/invite/raylib)
43
+ * [Python video player](https://github.com/anrayliu/pyvidplayer2)
44
+ * [A Vector2 class](https://github.com/electronstudio/raylib-python-cffi/blob/master/examples/extra/vector2_extended.py)
45
+ * [Raylib C FAQ](https://github.com/raysan5/raylib/wiki/Frequently-Asked-Questions/)
46
+
57
47
  # Installation
58
48
 
59
- First make sure you have the latest pip installed:
49
+ If you are on a modern Linux you will probably want to create a venv:
50
+
51
+ python3 -m venv venv
52
+ source venv/bin/activate
53
+
54
+ Then make sure you have the latest pip installed:
60
55
 
61
56
  python3 -m pip install --upgrade pip
62
57
 
63
58
  Then install
64
59
 
65
60
  python3 -m pip install setuptools
66
- python3 -m pip install raylib==5.5.0.0
61
+ python3 -m pip install raylib==5.5.0.2
67
62
 
68
63
  On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
69
64
  source, in which case you will need to have Raylib development libs installed, e.g.
@@ -85,7 +80,7 @@ Older MacOS requires building from source but this is usually simple:
85
80
 
86
81
  brew install pkg-config
87
82
  brew install raylib
88
- python3 -m pip install raylib==5.5.0.0
83
+ python3 -m pip install raylib==5.5.0.2
89
84
 
90
85
  (I do have binaries for arm64 MacOS 11, 12 and 13 but I have no way of testing they work, so post an issue
91
86
  if you want to test them.)
@@ -199,7 +194,7 @@ Point your browser to http://localhost:8000
199
194
  Some features may not work, so you can disable them like this:
200
195
 
201
196
  ```python
202
- if platform.system() != "Emscripten": # audio does not work on current version of emscripten
197
+ if platform.system() != "Emscripten": # audio may not work on current version of emscripten
203
198
  init_audio_device()
204
199
  ```
205
200
 
@@ -1,3 +1,3 @@
1
1
  [build-system]
2
- requires = ["setuptools"]
2
+ requires = ["setuptools", "cffi>=1.17.1"]
3
3
  build-backend = "setuptools.build_meta"
@@ -126,7 +126,7 @@ def _make_struct_constructor_function(struct):
126
126
  or isinstance(arg, (array, bytes, bytearray, memoryview)))):
127
127
  arg = ffi.from_buffer(field[1].type, arg)
128
128
  modified_args.append(arg)
129
- s = ffi.new(f"struct {struct} *", modified_args)[0]
129
+ s = ffi.new(f"{struct} *", modified_args)[0]
130
130
  global_weakkeydict[s] = modified_args
131
131
  return s
132
132