Skip to main content

TODO

Project description

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/*

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

raveberry-visualization-0.1.0.tar.gz (23.9 kB view details)

Uploaded Source

Built Distributions

raveberry_visualization-0.1.0-cp310-cp310-manylinux_2_27_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.27+ x86-64

raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl (1.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARMv7l

raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.27+ x86-64

raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.27+ x86-64

File details

Details for the file raveberry-visualization-0.1.0.tar.gz.

File metadata

  • Download URL: raveberry-visualization-0.1.0.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for raveberry-visualization-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8812a2efca434f9ce51227310931f7335c210746c0cf281b470c7aacbbcdda53
MD5 189d1bc993d288fdf82b12f131d4622f
BLAKE2b-256 4049ff96d871dc838ba1b61f509141b616d82b764bd0c49b45fb575bfb9da5c4

See more details on using hashes here.

File details

Details for the file raveberry_visualization-0.1.0-cp310-cp310-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for raveberry_visualization-0.1.0-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 c4cc10ad6a8db2c7c2bfba16b40b5c6201d4ac23751d14047e082adcd3db77b7
MD5 abce53f0a3b99754669e226f3599d5cf
BLAKE2b-256 f132b48b4358a28742557a2271161cc2963f33784b9de7834e7aef0cda78b33b

See more details on using hashes here.

File details

Details for the file raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl.

File metadata

  • Download URL: raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.9, manylinux: glibc 2.28+ ARMv7l
  • Uploaded using 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

File hashes

Hashes for raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 fcad5971630386707e5631e6cd833d807f7fd18ab62cb09491b94e0dd1e92011
MD5 f4977cb3278c961c67679b88f64aa58e
BLAKE2b-256 a1080228fbb5e840c711cffa6b79727ba6a2d81de1047640341cced49286e3ce

See more details on using hashes here.

File details

Details for the file raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl.

File metadata

  • Download URL: raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.9, manylinux: glibc 2.27+ x86-64
  • Uploaded using 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

File hashes

Hashes for raveberry_visualization-0.1.0-cp39-cp39-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 0808ad7fd43bd670d75ee485769de7fd393563ce4de568b658f1704454bd9c30
MD5 95a03a4ae01ef1a54edce72084d648df
BLAKE2b-256 fba60f169c67eb86c3d01c302a453db88d8c429cdb4e9e2af23abeaaa36ef76d

See more details on using hashes here.

File details

Details for the file raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl.

File metadata

  • Download URL: raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.8, manylinux: glibc 2.27+ x86-64
  • Uploaded using 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

File hashes

Hashes for raveberry_visualization-0.1.0-cp38-cp38-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 bf4d423ebe1e53be839fe400e3a21d027159e5885e8d9080f6e0d9e141668996
MD5 22d7e1d1ba8ed2239a262496f60247e5
BLAKE2b-256 8e3caf57e237b32040e3ac938aaba08c5bb80cb3aabc070271383f1f32f66e3f

See more details on using hashes here.

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