File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,12 @@ Python interface for ra2yrcpp.
8
8
9
9
Install a pre-built wheel:
10
10
``` bash
11
- pip install -U https://github.com/shmocz/pyra2yr/releases/download/v0.2 .0/pyra2yr-0.2 .0-py3-none-any.whl
11
+ pip install -U https://github.com/shmocz/pyra2yr/releases/download/v0.3 .0/pyra2yr-0.3 .0-py3-none-any.whl
12
12
```
13
13
14
- ### (TODO) Method 2: Install with poetry
14
+ ### Method 2: Install with poetry
15
+
16
+ TODO
15
17
16
18
## Setup
17
19
@@ -26,3 +28,26 @@ Download and extract [ra2yrcpp](https://github.com/shmocz/ra2yrcpp/releases/down
26
28
## Usage
27
29
28
30
See ` pyra2yr/examples/basic_usage.py ` files for example usage.
31
+
32
+ ## Tests
33
+
34
+ In a suitable python environment, run:
35
+
36
+ ``` bash
37
+ python -m unittest
38
+ ```
39
+
40
+ Various environment variables are accepted:
41
+
42
+ - ` USE_SYRINGE ` if defined, use Syringe instead of legacy spawner. Assumes ` Syringe.exe ` is in game data folder.
43
+ - ` USE_X11 ` (Linux only) Use host X server instead of VNC by exposing ` /tmp/.X11-unix ` to container.
44
+ - ` X11_SOCKET ` (Linux only) is ` USE_X11 ` is defined alternative path to X server socket.
45
+
46
+ > [ !NOTE]
47
+ > Any value will enable a boolean setting, even values like ` no ` , ` False ` and ` n ` .
48
+
49
+ For example:
50
+
51
+ ``` bash
52
+ USE_SYRINGE=y USE_X11=y python -m unittest
53
+ ```
You can’t perform that action at this time.
0 commit comments