Skip to content

Commit

Permalink
fix(s3-deployment): Fix pip3 install options for Debian systems
Browse files Browse the repository at this point in the history
Fixes #3048
  • Loading branch information
clareliguori committed Jun 27, 2019
1 parent f2293e0 commit 1c86aa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-s3-deployment/lambda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cd ${staging}
# install python requirements
# Must use --prefix to because --target cannot be used on
# platforms that have a default --prefix set.
pip3 install --ignore-installed --prefix ${piptemp} -r ${staging}/requirements.txt
pip3 install --system --ignore-installed --prefix ${piptemp} -r ${staging}/requirements.txt
mv ${piptemp}/lib/python*/*-packages/* .

# create archive
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-s3-deployment/lambda/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cp -f ${scriptdir}/src/* $PWD
cp -f ${scriptdir}/test/* $PWD

# install deps
pip3 install -r requirements.txt -t .
pip3 install --system -r requirements.txt -t .

# run our tests
exec python3 test.py $@

0 comments on commit 1c86aa8

Please sign in to comment.