@@ -46,25 +46,25 @@ _raylib-py_ comes with 32bit binaries for Windows, Mac and Linux, but you're not
46
46
import os
47
47
48
48
# set the path before raylib is imported.
49
- os.environ[RAYLIB_LIB_PATH ] = " path/to/the/binary"
49
+ os.environ[" RAYLIB_BIN_PATH " ] = " path/to/the/binary"
50
50
51
51
import raylibpy
52
52
53
53
# let the fun begin.
54
54
```
55
55
56
- You can set ` "__file__" ` as value to ` RAYLIB_LIB_PATH ` and _ raylib-py_ will search for the binary in the package dir:
56
+ You can set ` "__file__" ` as value to ` "RAYLIB_BIN_PATH" ` and _ raylib-py_ will search for the binary in the package dir:
57
57
58
58
``` python
59
59
# bynary file is wherever the package is located.
60
- os.environ[RAYLIB_LIB_PATH ] = " __file__"
60
+ os.environ[" RAYLIB_BIN_PATH " ] = " __file__"
61
61
```
62
62
63
63
` "__main__" ` can also be set to look for the binary in the project's directory where the starting script is located:
64
64
65
65
``` python
66
66
# binary file is in the same dir as this py file.
67
- os.environ[RAYLIB_LIB_PATH ] = " __main__"
67
+ os.environ[" RAYLIB_BIN_PATH " ] = " __main__"
68
68
69
69
# ...
70
70
0 commit comments