Apptainer-ready GCC/Python env: Run PyO3 interpreter-embedding cargo test on HPC.
1.1K
apptainer build pyo3dev.sif docker://bguo068/pyo3dev
apptainer shell -e -B $PWD:/home/$USER pyo3dev.sif
# within the container
# 1. you can use helix to edit file
# hx src/lib.rs
# 2. you can use cargo test to run test that use embeded python interpreter
# cargo test
# 3. or use maturin to build/install/test the rust python extensson
# python3 -m venv .venv
# source .venv/bin/activate
# maturin develop
Content type
Image
Digest
sha256:9297e8864…
Size
501.3 MB
Last updated
10 months ago
docker pull bguo068/pyo3dev