File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -29,27 +29,13 @@ if [ "$QUIET" = false ]; then
2929fi
3030rm -rf dist/ build/ -- * .egg-info/
3131
32- # Install build dependencies if needed
32+ # Verify build dependencies are present (declared in pyproject.toml dev deps)
3333if [ " $QUIET " = false ]; then
3434 echo " INFO: Checking build dependencies..."
3535fi
3636if ! $RUN_TOOL python -c " import build" 2> /dev/null; then
37- if [ " $QUIET " = false ]; then
38- echo " INFO: Installing build dependencies..."
39- fi
40- if command -v uv > /dev/null 2>&1 ; then
41- if [ " $QUIET " = true ]; then
42- uv pip install build > /dev/null 2>&1
43- else
44- uv pip install build
45- fi
46- else
47- if [ " $QUIET " = true ]; then
48- $RUN_TOOL pip install build > /dev/null 2>&1
49- else
50- $RUN_TOOL pip install build
51- fi
52- fi
37+ echo " ERROR: 'build' package not found. Ensure 'uv sync --all-extras' has been run." >&2
38+ exit 1
5339fi
5440
5541# Build package
You can’t perform that action at this time.
0 commit comments