aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_layer_zip.sh
diff options
context:
space:
mode:
authorAlex <git@ajschof.me>2024-08-20 15:31:05 +0100
committerGitHub <noreply@github.com>2024-08-20 15:31:05 +0100
commit80f531f3756c2db095dce0b0aee30e537d711566 (patch)
tree671b2817d4576abd1132aded13f25ba545beff90 /scripts/make_layer_zip.sh
parent3ab3164c2e6f0e7a7ae6755a58914522bf3390a6 (diff)
parenta393d59e052d3a37d66f7a657a15cad1d486e3b1 (diff)
downloadde-project-bentley-80f531f3756c2db095dce0b0aee30e537d711566.tar.gz
de-project-bentley-80f531f3756c2db095dce0b0aee30e537d711566.zip
Merge pull request #76 from ajschofield/development
pr: pull development into main
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