File tree 3 files changed +29
-6
lines changed 3 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 1
1
SPDX-License-Identifier: BSD-2-Clause
2
2
3
- Copyright (c) 2022-2024 by the drake-blender developers.
3
+ Copyright (c) 2022-2025 by the drake-blender developers.
4
4
5
5
Redistribution and use in source and binary forms, with or without
6
6
modification, are permitted provided that the following conditions
Original file line number Diff line number Diff line change @@ -17,19 +17,42 @@ work with any Python interpreter that supports our `requirements.txt`.
17
17
18
18
## Running the render server
19
19
20
- There are two ways to run the server.
20
+ There are three ways to run the server.
21
21
22
- (1) From a git checkout of ` drake-blender ` :
22
+ (1) From pip :
23
23
24
+ Ensure you are using a virtual environment:
24
25
``` sh
25
- ./bazel run :server
26
+ python3 -m venv env
27
+ ```
28
+
29
+ Install into the virtual environment, either from a release tag or from the
30
+ development branch:
31
+
32
+ (a) Using a release tag:
33
+ ``` sh
34
+ env/bin/pip install https://github.com/RobotLocomotion/drake-blender/archive/refs/tags/v0.2.1.zip
35
+ env/bin/drake-blender-server --help
36
+ ```
37
+
38
+ (b) Using the development branch:
39
+
40
+ ``` sh
41
+ env/bin/pip install https://github.com/RobotLocomotion/drake-blender/archive/refs/heads/main.zip
42
+ env/bin/drake-blender-server --help
43
+ ```
44
+
45
+ (2) From a git checkout of ` drake-blender ` :
46
+
47
+ ``` sh
48
+ ./bazel run :server -- --help
26
49
```
27
50
28
51
This way has no extra setup steps. It will automatically download the required
29
52
dependencies into the Bazel sandbox, using the same versions as pinned by our
30
53
requirements lockfile that is tested in our Continuous Integration build.
31
54
32
- (2 ) From your own virtual environment:
55
+ (3 ) From your own virtual environment:
33
56
34
57
The ` server.py ` file is self-contained -- it does not import any other files
35
58
from drake-blender. Instead of using Bazel, you can also run it as a standalone
Original file line number Diff line number Diff line change 2
2
3
3
[project ]
4
4
name = " drake-blender"
5
- version = " 0.2.1.dev0 "
5
+ version = " 0.2.1"
6
6
# NOTE TO MAINTAINERS: when editing this list, you must copy the identical
7
7
# update into requirements.in as well.
8
8
dependencies = [
You can’t perform that action at this time.
0 commit comments