aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_layer_zip.sh
diff options
context:
space:
mode:
authorAlex <git@ajschof.me>2024-08-19 17:10:10 +0100
committerGitHub <noreply@github.com>2024-08-19 17:10:10 +0100
commit4a2306934aa902726cbca24073a518806468340f (patch)
treeede139c69ddd877960db09329415abf890cbe22a /scripts/make_layer_zip.sh
parent91d2e615a6af595898de2e329299c9cf42fc74f7 (diff)
parent34de6026e4d4db40d30bd551003a7f6bd1982fc3 (diff)
downloadde-project-bentley-4a2306934aa902726cbca24073a518806468340f.tar.gz
de-project-bentley-4a2306934aa902726cbca24073a518806468340f.zip
Merge branch 'development' into extract-lambda-code-update
Diffstat (limited to 'scripts/make_layer_zip.sh')
-rwxr-xr-xscripts/make_layer_zip.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/make_layer_zip.sh b/scripts/make_layer_zip.sh
new file mode 100755
index 0000000..eabe301
--- /dev/null
+++ b/scripts/make_layer_zip.sh
@@ -0,0 +1,8 @@
+# Description: Make the zip file for the layer
+
+cd "$(dirname "$0")/.."
+mkdir -p python/lib/python3.11/site-packages
+pip3 install --upgrade -r requirements.txt -t python/lib/python3.11/site-packages
+rm layer.zip
+zip -r layer.zip python
+rm -r python/
git.ajschof.me — hosted by ajschofield — powered by cgit