Files
Yuu-Box/install.sh
aguitauwu 5a4b5b83dd pos nomas
2026-02-16 11:41:18 -06:00

24 lines
441 B
Bash
Executable File

#!/bin/bash
set -e
echo "Installing YuuBox..."
# Install Rust if not present
if ! command -v cargo &> /dev/null; then
echo "Installing Rust..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
fi
# Install maturin
pip install maturin
# Build and install
./build.sh
echo ""
echo "✅ Installation complete!"
echo ""
echo "Test with:"
echo " yuubox run examples/basic_usage.py"