Skip to content

Commit

Permalink
build.sh: update to use with uv
Browse files Browse the repository at this point in the history
and remove requirements.txt
  • Loading branch information
naveen521kk committed Feb 1, 2025
1 parent eb1756e commit 4066dcb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 8 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
#!/bin/bash
set -e

poetry export -f requirements.txt --without-hashes -o requirements.txt
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Add $HOME/.local/bin to PATH
export PATH="$HOME/.local/bin:$PATH"

# Generate requirements.txt
uv export --format requirements-txt --no-hashes > requirements.txt

mkdir -p public/
cp requirements.txt public/requirements.txt
Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

0 comments on commit 4066dcb

Please sign in to comment.