diff options
| author | Alex Schofield <git@ajschof.me> | 2024-08-19 15:37:54 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2024-08-19 15:37:54 +0100 |
| commit | 024de7d7947f46cf6c0c829dc29eb8298e029576 (patch) | |
| tree | b2d9d686e7bd8c7c233610d1e97e64c99f89543d /scripts | |
| parent | cbf1d083dc0bf4d78da83cb169da49731f8ace65 (diff) | |
| download | de-project-bentley-024de7d7947f46cf6c0c829dc29eb8298e029576.tar.gz de-project-bentley-024de7d7947f46cf6c0c829dc29eb8298e029576.zip | |
fix(make_layer_zip): change folder structure of layer.zip
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/make_layer_zip.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/make_layer_zip.sh b/scripts/make_layer_zip.sh index 0e7560f..eabe301 100755 --- a/scripts/make_layer_zip.sh +++ b/scripts/make_layer_zip.sh @@ -1,7 +1,8 @@ # Description: Make the zip file for the layer cd "$(dirname "$0")/.." -mkdir tmp_python -pip3 install --upgrade -r requirements.txt -t tmp_python/ -zip -r layer.zip tmp_python -rm -r tmp_python/ +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/ |
