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
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 details)
Built Distribution
raspunzel-0.2.0-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file raspunzel-0.2.0.tar.gz
.
File metadata
- Download URL: raspunzel-0.2.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dbdf9181282b8d991c5c072b270a3d0d8a49071fb3acee13081575a86a9ffee |
|
MD5 | f6603e28e5fa0232e97e0d03f40c1876 |
|
BLAKE2b-256 | 6cde56f5dcee747afe7da23f0eab417e8b60dee4c3a58fd6a7c5b1e06e22f9e8 |
File details
Details for the file raspunzel-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: raspunzel-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65a02816b2b76a23423e822bc7e06846b1b4015f7657386e35ee3e2e2d22397 |
|
MD5 | edb8b270be20a74b08698082b0e2f9d6 |
|
BLAKE2b-256 | bcf26265327a3bf6f9ea8bc9b485addb3700095ee52216f1c92ca15290f54b36 |