From 2d2d502ccae9a8619ce75501a44f4ab7b0c5e091 Mon Sep 17 00:00:00 2001 From: Hanzhi Zhou Date: Sat, 24 Jun 2023 17:05:06 -0700 Subject: [PATCH] no venv --- build_scripts/install_dependencies.sh | 28 +++++++++++++-------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/build_scripts/install_dependencies.sh b/build_scripts/install_dependencies.sh index 460d582..6fa3934 100755 --- a/build_scripts/install_dependencies.sh +++ b/build_scripts/install_dependencies.sh @@ -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 \ No newline at end of file +# 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 \ No newline at end of file