Skip to content

For Developers

Adam Taranto edited this page Sep 20, 2024 · 5 revisions

Install in developer mode.

# Clone project repo (or your own fork)
git clone [email protected]:dib-lab/oxli.git && cd oxli

# Create conda dev environment
mamba env create -f environment.yml -n oxli

# Install in development mode
pip install -e '.[test]'
# Checkout new branch
git checkout -b dev_new_feature

# Edit src/lib.rs
# Go make some changes to the rust library.

# Check formatting
cargo fmt

# Build 
maturin develop

# Run tests
pytest src/python/tests/