Skip to content

Commit bcdafc9

Browse files
authored
Merge pull request #7 from flipcoder/master
Fixed bin path info in README
2 parents ad4e985 + 788c618 commit bcdafc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,25 @@ _raylib-py_ comes with 32bit binaries for Windows, Mac and Linux, but you're not
4646
import os
4747

4848
# 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"
5050

5151
import raylibpy
5252

5353
# let the fun begin.
5454
```
5555

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:
5757

5858
```python
5959
# bynary file is wherever the package is located.
60-
os.environ[RAYLIB_LIB_PATH] = "__file__"
60+
os.environ["RAYLIB_BIN_PATH"] = "__file__"
6161
```
6262

6363
`"__main__"` can also be set to look for the binary in the project's directory where the starting script is located:
6464

6565
```python
6666
# 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__"
6868

6969
# ...
7070

0 commit comments

Comments
 (0)