Skip to content

Latest commit

 

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Setup Python Environment

python -m venv .env
. .env/Scripts/activate # Using Git Bash on Windows
pip install maturin

Run (Development)

# Adds grim api as python module to current env
maturin develop -m ./core/grim/Cargo.toml --all-features

Build and Install

# Build grim api as python module in target/wheels
maturin build -m ./core/grim/Cargo.toml --all-features -r

# Use '--force-reinstall' to override pre-existing install
# Note: File name may be different depending on build target
pip install ./target/wheels/grim-0.1.0-cp310-none-win_amd64.whl --force-reinstall