Skip to content

Commit

Permalink
site_file_composition.sh: Install csvkit in .venv
Browse files Browse the repository at this point in the history
  Fixes error: externally-managed-environment
  • Loading branch information
Kjuly committed Oct 14, 2024
1 parent 820a924 commit 536726b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ compose_site_files_for_one_entity() {

if [ -n "$G_IS_CI" ]; then
echo "Install csvkit..."
python3 -m venv .venv
# shellcheck source=/dev/null
source .venv/bin/activate
pip install -q csvkit
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ compose_site_files_for_one_entity() {

if [ -n "$G_IS_CI" ]; then
echo "Install csvkit..."
python3 -m venv .venv
# shellcheck source=/dev/null
source .venv/bin/activate
pip install -q csvkit
fi

Expand Down

0 comments on commit 536726b

Please sign in to comment.