Skip to content

Instantly share code, notes, and snippets.

@GarrettMooney
Created February 11, 2025 17:36
Show Gist options
  • Save GarrettMooney/ee548dc0f9f532004f33b0b88de2d59e to your computer and use it in GitHub Desktop.
Save GarrettMooney/ee548dc0f9f532004f33b0b88de2d59e to your computer and use it in GitHub Desktop.
Install geo_polars plugin from python polars book
#!/usr/bin/env bash
# install rustup if it doesn't exist
if ! command -v rustup &> /dev/null
then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
fi
# install uv if it doesn't exist
if ! command -v uv &> /dev/null
then
curl -LsSf https://astral.sh/uv/install.sh | sh
fi
rustup update
uv run --with maturin[patchelf] maturin develop --release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment