Test
cargo run
Crosscompile for the Pi
Setup
# install crosscompiling for raspberry pi
sudo apt-get install arm-linux-gnueabihf-gcc
# add target
rustup target add armv7-unknown-linux-gnueabihf
# copy python sysconfig (required for pyo3 cross compilation)
mkdir lib
scp raveberry.local:/usr/lib/python3.9/_sysconfigdata__arm-linux-gnueabihf.py lib/
export PYO3_CROSS_LIB_DIR=$(pwd)/lib
# for building wheels
pip install maturin
# copy shaders and images to the pi
scp -r raveberry_visualization raveberry.local:
Build
Binary:
# --release to reduce binary size, speeding up scp
cargo build --target armv7-unknown-linux-gnueabihf --release
scp target/armv7-unknown-linux-gnueabihf/release/raveberry-visualization raveberry.local:
Wheel:
# optional: add --release --strip
maturin build --target armv7-unknown-linux-gnueabihf
scp target/wheels/*.whl raveberry.local:
Build
sudo apt-get install python3.8 python3.8-venv python3.9 python3.9-venv python3.10 python3.10-venv
for python in python3.8 python3.9 python3.10; do
rm -rf .venv
$python -m venv .venv
. .venv/bin/activate
pip install setuptools-rust wheel
# plat-name obtained via "auditwheel show <wheel_file>"
python setup.py bdist_wheel --plat-name manylinux_2_27_x86_64
done
# on the pi
pip install setuptools-rust wheel
python setup.py sdist bdist_wheel --plat-name manylinux_2_28_armv7l
# upload
twine upload dist/*
Metadata
Release files for raveberry-visualization 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| raveberry-visualization-0.1.0.tar.gz | 23.9 kB | Without provenance | Details for raveberry-visualization-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| raveberry_visualization-0.1.0-cp310-cp310-manylinux_2_27_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.27+ x86-64 | Details for raveberry_visualization-0.1.0-cp310-cp310-manylinux_2_27_x86_64.whl |
| raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.28+ ARMv7l | Details for raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl |
| raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.27+ x86-64 | Details for raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl |
| raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.27+ x86-64 | Details for raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl |
Total release size: 6.4 MB
Release files / raveberry-visualization-0.1.0.tar.gz
| Download URL | raveberry-visualization-0.1.0.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8812a2efca434f9ce51227310931f7335c210746c0cf281b470c7aacbbcdda53
|
|
BLAKE2b-256 checksum How to use checksums |
4049ff96d871dc838ba1b61f509141b616d82b764bd0c49b45fb575bfb9da5c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
|
Release files / raveberry_visualization-0.1.0-cp310-cp310-manylinux_2_27_x86_64.whl
| Download URL | raveberry_visualization-0.1.0-cp310-cp310-manylinux_2_27_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 |
|
SHA-256 checksum How to use checksums |
c4cc10ad6a8db2c7c2bfba16b40b5c6201d4ac23751d14047e082adcd3db77b7
|
|
BLAKE2b-256 checksum How to use checksums |
f132b48b4358a28742557a2271161cc2963f33784b9de7834e7aef0cda78b33b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10
|
Release files / raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl
| Download URL | raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARMv7l |
|
SHA-256 checksum How to use checksums |
fcad5971630386707e5631e6cd833d807f7fd18ab62cb09491b94e0dd1e92011
|
|
BLAKE2b-256 checksum How to use checksums |
a1080228fbb5e840c711cffa6b79727ba6a2d81de1047640341cced49286e3ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
|
Release files / raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl
| Download URL | raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Linux glibc 2.27+ x86-64 |
|
SHA-256 checksum How to use checksums |
0808ad7fd43bd670d75ee485769de7fd393563ce4de568b658f1704454bd9c30
|
|
BLAKE2b-256 checksum How to use checksums |
fba60f169c67eb86c3d01c302a453db88d8c429cdb4e9e2af23abeaaa36ef76d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10
|
Release files / raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl
| Download URL | raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.8 Linux glibc 2.27+ x86-64 |
|
SHA-256 checksum How to use checksums |
bf4d423ebe1e53be839fe400e3a21d027159e5885e8d9080f6e0d9e141668996
|
|
BLAKE2b-256 checksum How to use checksums |
8e3caf57e237b32040e3ac938aaba08c5bb80cb3aabc070271383f1f32f66e3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10
|
Security for raveberry-visualization 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.