Skip to content

Commit

Permalink
Extra pip install setuptools at make aws-lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Nov 13, 2024
1 parent d17a038 commit 6b1898a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ install-lambda-modules:
rm -rf ${target_dir}
@echo -e "Creating target directory ${target_dir} for AWS Lambda layer artifacts."
mkdir -p ${target_dir}/python
@echo -e "Install setuptools"
@set -e; for PYBIN in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312; do /opt/python/$${PYBIN}/bin/pip install setuptools; done
@echo -e "Install upstream dependencies to include in layer"
@set -e; for PYBIN in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312; do /opt/python/$${PYBIN}/bin/pip install -t ${target_dir}/python -r lambda/requirements.txt; done
@echo -e "Install other version-specific .so files for deps"
Expand Down

0 comments on commit 6b1898a

Please sign in to comment.