aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_layer_zip.sh
diff options
context:
space:
mode:
authorAlex <git@ajschof.me>2024-08-19 17:13:56 +0100
committerGitHub <noreply@github.com>2024-08-19 17:13:56 +0100
commitf014d1a15037e3471c0759de3ca31e221e2673de (patch)
treedbe1a8a34728d8d8edb36e425ebb0dbd3f7c5352 /scripts/make_layer_zip.sh
parenta42d030fb663ad7eb040498cfc5f0627a27d6cc6 (diff)
parent58db3807d686a600177f467c96694bec75f0c466 (diff)
downloadde-project-bentley-f014d1a15037e3471c0759de3ca31e221e2673de.tar.gz
de-project-bentley-f014d1a15037e3471c0759de3ca31e221e2673de.zip
Merge branch 'development' into feature/test-process-upload-tables-v2
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