Skip to content

Commit

Permalink
no venv
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhi713 committed Jun 25, 2023
1 parent 032b07a commit 2d2d502
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions build_scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
#/bin/bash
python3 -m venv collage
PLATFORM=$1
if [[ $PLATFORM == windows* ]]; then
./collage/Scripts/activate
elif [[ $PLATFORM == macos* ]]; then
source collage/bin/activate
elif [[ $PLATFORM == ubuntu* ]]; then
source collage/bin/activate
else
echo "Unsupported platform: " $PLATFORM
exit 1
fi

pip install numpy==1.24.3
pip install -r requirements.txt
# python3 -m venv collage
# PLATFORM=$1
# if [[ $PLATFORM == windows* ]]; then
# ./collage/Scripts/activate
# elif [[ $PLATFORM == macos* ]]; then
# source collage/bin/activate
# elif [[ $PLATFORM == ubuntu* ]]; then
# source collage/bin/activate
# else
# echo "Unsupported platform: " $PLATFORM
# exit 1
# fi
cat requirements.txt | xargs -n 1 pip install

0 comments on commit 2d2d502

Please sign in to comment.