Compile the modules after deploying them
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
aca50a00bd
commit
8771ee37c6
1 changed files with 4 additions and 3 deletions
|
@ -2,9 +2,10 @@
|
||||||
|
|
||||||
set -e
|
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
|
set -x
|
||||||
|
|
||||||
cp -afv ipsilon ${ROOT}${PYDIR}/
|
cp -afv ipsilon ${ROOT}${SITE_PACKAGES}/
|
||||||
cp -afv openid ${ROOT}${PYDIR}/
|
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