raylib 5.5.0.1__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.1/raylib.egg-info → raylib-5.5.0.3rc1}/PKG-INFO +34 -17
  2. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/README.md +23 -10
  3. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/pyproject.toml +1 -1
  4. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/pyray/__init__.py +1 -1
  5. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/pyray/__init__.pyi +2274 -2203
  6. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/__init__.py +9 -5
  7. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/__init__.pyi +2176 -2156
  8. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/build.py +107 -41
  9. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/defines.py +2 -4
  10. {raylib-5.5.0.1 → 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.1 → 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.1 → raylib-5.5.0.3rc1/raylib.egg-info}/PKG-INFO +34 -17
  15. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/setup.py +1 -7
  16. raylib-5.5.0.3rc1/version.py +1 -0
  17. raylib-5.5.0.1/raylib/physac.h.modified +0 -165
  18. raylib-5.5.0.1/raylib/version.py +0 -1
  19. raylib-5.5.0.1/version.py +0 -1
  20. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/LICENSE +0 -0
  21. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/MANIFEST.in +0 -0
  22. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/pyray/py.typed +0 -0
  23. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/colors.py +0 -0
  24. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/glfw3.h.modified +0 -0
  25. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/py.typed +0 -0
  26. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/raylib.h.modified +0 -0
  27. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/raymath.h.modified +0 -0
  28. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib/rlgl.h.modified +0 -0
  29. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib.egg-info/SOURCES.txt +0 -0
  30. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib.egg-info/dependency_links.txt +0 -0
  31. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib.egg-info/requires.txt +0 -0
  32. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/raylib.egg-info/top_level.txt +0 -0
  33. {raylib-5.5.0.1 → raylib-5.5.0.3rc1}/setup.cfg +0 -0
@@ -1,23 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: raylib
3
- Version: 5.5.0.1
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
13
11
  Classifier: Programming Language :: Python :: 3.11
14
12
  Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.8
17
- Classifier: Programming Language :: Python :: 3.7
18
13
  Description-Content-Type: text/markdown
19
14
  License-File: LICENSE
20
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
21
25
 
22
26
  # Python Bindings for Raylib 5.5
23
27
  ## Libraries: raymath, raygui, rlgl, physac and GLFW
@@ -26,8 +30,6 @@ Requires-Dist: cffi>=1.17.1
26
30
 
27
31
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/raylib)
28
32
 
29
- Chatroom: [Discord](https://discord.gg/fKDwt85aX6)
30
-
31
33
  HELP WANTED: [writing examples](https://github.com/electronstudio/raylib-python-cffi/issues/155)
32
34
 
33
35
  Features:
@@ -40,12 +42,9 @@ original Raylib.
40
42
  * Docstrings and auto-completion.
41
43
  * Type checking with Mypy
42
44
 
43
-
44
- [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
45
-
46
45
  # Quickstart
47
46
 
48
- `pip3 install raylib==5.5.0.0`
47
+ `pip3 install raylib==5.5.0.2 --break-system-packages`
49
48
  ```python
50
49
  from pyray import *
51
50
  init_window(800, 450, "Hello")
@@ -57,16 +56,34 @@ while not window_should_close():
57
56
  close_window()
58
57
  ```
59
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
+
60
72
  # Installation
61
73
 
62
- 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:
63
80
 
64
81
  python3 -m pip install --upgrade pip
65
82
 
66
83
  Then install
67
84
 
68
85
  python3 -m pip install setuptools
69
- python3 -m pip install raylib==5.5.0.0
86
+ python3 -m pip install raylib==5.5.0.2
70
87
 
71
88
  On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
72
89
  source, in which case you will need to have Raylib development libs installed, e.g.
@@ -88,7 +105,7 @@ Older MacOS requires building from source but this is usually simple:
88
105
 
89
106
  brew install pkg-config
90
107
  brew install raylib
91
- python3 -m pip install raylib==5.5.0.0
108
+ python3 -m pip install raylib==5.5.0.2
92
109
 
93
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
94
111
  if you want to test them.)
@@ -202,7 +219,7 @@ Point your browser to http://localhost:8000
202
219
  Some features may not work, so you can disable them like this:
203
220
 
204
221
  ```python
205
- 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
206
223
  init_audio_device()
207
224
  ```
208
225
 
@@ -5,8 +5,6 @@
5
5
 
6
6
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/raylib)
7
7
 
8
- Chatroom: [Discord](https://discord.gg/fKDwt85aX6)
9
-
10
8
  HELP WANTED: [writing examples](https://github.com/electronstudio/raylib-python-cffi/issues/155)
11
9
 
12
10
  Features:
@@ -19,12 +17,9 @@ original Raylib.
19
17
  * Docstrings and auto-completion.
20
18
  * Type checking with Mypy
21
19
 
22
-
23
- [Full documentation](http://electronstudio.github.io/raylib-python-cffi)
24
-
25
20
  # Quickstart
26
21
 
27
- `pip3 install raylib==5.5.0.0`
22
+ `pip3 install raylib==5.5.0.2 --break-system-packages`
28
23
  ```python
29
24
  from pyray import *
30
25
  init_window(800, 450, "Hello")
@@ -36,16 +31,34 @@ while not window_should_close():
36
31
  close_window()
37
32
  ```
38
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
+
39
47
  # Installation
40
48
 
41
- 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:
42
55
 
43
56
  python3 -m pip install --upgrade pip
44
57
 
45
58
  Then install
46
59
 
47
60
  python3 -m pip install setuptools
48
- python3 -m pip install raylib==5.5.0.0
61
+ python3 -m pip install raylib==5.5.0.2
49
62
 
50
63
  On most platforms it should install a binary wheel. If yours isn't available then pip will attempt to build from
51
64
  source, in which case you will need to have Raylib development libs installed, e.g.
@@ -67,7 +80,7 @@ Older MacOS requires building from source but this is usually simple:
67
80
 
68
81
  brew install pkg-config
69
82
  brew install raylib
70
- python3 -m pip install raylib==5.5.0.0
83
+ python3 -m pip install raylib==5.5.0.2
71
84
 
72
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
73
86
  if you want to test them.)
@@ -181,7 +194,7 @@ Point your browser to http://localhost:8000
181
194
  Some features may not work, so you can disable them like this:
182
195
 
183
196
  ```python
184
- 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
185
198
  init_audio_device()
186
199
  ```
187
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