Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ggounot committed Oct 22, 2024
1 parent d2186bc commit 2468412
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions back/bin/post_compile
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
#!/bin/sh
#!/usr/bin/env bash

export PYTHONPATH=/build/${REQUEST_ID}/.apt/usr/lib/python3/dist-packages/:{PYTHONPATH}
export LD_LIBRARY_PATH=/build/${REQUEST_ID}/.apt/usr/lib/x86_64-linux-gnu/blas/:/build/${REQUEST_ID}/.apt/usr/lib/x86_64-linux-gnu/lapack/:${LD_LIBRARY_PATH}
export PROJ_LIB=/build/${REQUEST_ID}/.apt/usr/share/proj
set -euo pipefail

echo "ls des familles"
ls "/build/${REQUEST_ID}/${PROJECT_DIR}/.apt/usr/lib/x86_64-linux-gnu/blas/"


echo "avant PYTHONPATH=$PYTHONPATH"

export PYTHONPATH=/build/${REQUEST_ID}/${PROJECT_DIR}/.apt/usr/lib/python3/dist-packages/:${PYTHONPATH}
export LD_LIBRARY_PATH=/build/${REQUEST_ID}/${PROJECT_DIR}/.apt/usr/lib/x86_64-linux-gnu/blas/:/build/${REQUEST_ID}/.apt/usr/lib/x86_64-linux-gnu/lapack/:${LD_LIBRARY_PATH}
export PROJ_LIB=/build/${REQUEST_ID}/${PROJECT_DIR}/.apt/usr/share/proj

echo "apres PYTHONPATH=$PYTHONPATH"
echo "apres LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
echo "apres PROJ_LIB=$PROJ_LIB"

python manage.py collectstatic --noinput


echo "apres collectstatic PYTHONPATH=$PYTHONPATH"

0 comments on commit 2468412

Please sign in to comment.