Skip to content

Commit

Permalink
Fix pip error in AfterInstall
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Jan 2, 2024
1 parent 62ebf77 commit 98d042e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/aws/after-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ set -euo pipefail
cd /var/lib/codedeploy-apps/HexBug

python3.11 -m venv venv #--clear
source venv/bin/activate
# TODO: hack
# we need the rust toolchain to build hexnumgen, and i don't want to install it just for codedeploy
# so run as my user where rust is already installed
sudo su object -c 'pip install -e ".[runtime]"'
sudo su object -c 'source venv/bin/activate && pip install -e ".[runtime]"'

0 comments on commit 98d042e

Please sign in to comment.