Skip to main content

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 use raspunzel build, which is shorthand for bazel 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 hashes)

Uploaded Source

Built Distribution

raspunzel-0.2.0-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page