diff --git a/install.sh b/install.sh index 5339e6a..2f63c90 100755 --- a/install.sh +++ b/install.sh @@ -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}