15 lines
407 B
Bash
15 lines
407 B
Bash
#!/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/"
|