diff --git a/.gitignore b/.gitignore index 85aecf6..3357967 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /venv /frames **/*.png +thermaldecoder/target diff --git a/README.md b/README.md index a66b206..92ec13f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ ### Thermal decoder https://wiki.telavivmakers.org/tamiwiki/projects/thermalcam + + +### Rust lib usage + +# if you don't already have a virtualenv. Linux specific, adjust to your OS. +```bash +virtualenv venv +. venv/bin/activate +pip install -r requirements.txt +(cd thermaldecoder; maturin develop -r) +python test_rust.py +``` diff --git a/thermalcamdecoder/Cargo.lock b/thermaldecoder/Cargo.lock similarity index 100% rename from thermalcamdecoder/Cargo.lock rename to thermaldecoder/Cargo.lock diff --git a/thermalcamdecoder/Cargo.toml b/thermaldecoder/Cargo.toml similarity index 100% rename from thermalcamdecoder/Cargo.toml rename to thermaldecoder/Cargo.toml diff --git a/thermalcamdecoder/src/lib.rs b/thermaldecoder/src/lib.rs similarity index 100% rename from thermalcamdecoder/src/lib.rs rename to thermaldecoder/src/lib.rs diff --git a/thermalcamdecoder/src/main.rs b/thermaldecoder/src/main.rs similarity index 100% rename from thermalcamdecoder/src/main.rs rename to thermaldecoder/src/main.rs