Files

15 lines
407 B
Bash
Raw Permalink Normal View History

2026-08-01 10:28:22 +05:30
#!/usr/bin/env bash
# Build the independently deployable MaskanX backend package.
# Run from repo root: bash scripts/wheel_build.sh
set -e
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$REPO_ROOT"
echo "[wheel_build] Building wheel + sdist..."
python3 -m pip install --quiet build
rm -rf dist/*
python3 -m build --outdir dist .
echo "[wheel_build] Done. Wheel(s) in: $REPO_ROOT/dist/"