Compile the modules after deploying them
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
27b258b12c
commit
63d8eeed89
1 changed files with 4 additions and 3 deletions
|
@ -2,9 +2,10 @@
|
|||
|
||||
set -e
|
||||
|
||||
PYDIR=`python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
|
||||
SITE_PACKAGES=`python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
|
||||
|
||||
set -x
|
||||
|
||||
cp -afv ipsilon ${ROOT}${PYDIR}/
|
||||
cp -afv openid ${ROOT}${PYDIR}/
|
||||
cp -afv ipsilon ${ROOT}${SITE_PACKAGES}/
|
||||
cp -afv openid ${ROOT}${SITE_PACKAGES}/
|
||||
python3 -m compileall ${ROOT}${SITE_PACKAGES}/{ipsilon,openid}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue