Deploy and run Bazel targets on a Raspberry Pi.
Project description
raspunzel
Command-line tool to deploy and run cross-compiled Bazel targets on a Raspberry Pi.
Installation
pip install raspunzel
Usage
The basic usage for raspunzel
goes in three steps. First, build all cross-compiled targets locally:
bazel build --config=my_cross_compilation_stack //my/target
Then, sync the repository to the robot host:
raspunzel sync my_robot_host:some/path
Finally, go to some/path
on the robot host and run your target using the regular Bazel syntax:
raspunzel run //my/target -- --foo --bar
Tips
- If you have a 64-bit Raspberry Pi cross-compilation stack configured in
.bazelrc
, name it"pi64"
and useraspunzel build
, which is shorthand forbazel build --config=pi64
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
raspunzel-0.2.0.tar.gz
(9.9 kB
view hashes)
Built Distribution
raspunzel-0.2.0-py3-none-any.whl
(13.7 kB
view hashes)
Close
Hashes for raspunzel-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65a02816b2b76a23423e822bc7e06846b1b4015f7657386e35ee3e2e2d22397 |
|
MD5 | edb8b270be20a74b08698082b0e2f9d6 |
|
BLAKE2b-256 | bcf26265327a3bf6f9ea8bc9b485addb3700095ee52216f1c92ca15290f54b36 |