debianize getlasso3.sh (#55974)
This commit is contained in:
parent
080ed5f2a9
commit
b79f450d6f
|
@ -3,15 +3,15 @@
|
||||||
# Get venv site-packages path
|
# Get venv site-packages path
|
||||||
DSTDIR=`{{virtualenv_python}} -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'`
|
DSTDIR=`{{virtualenv_python}} -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'`
|
||||||
|
|
||||||
SRCDIR=`{{system_python}} -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'`
|
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
rm -f $DSTDIR/lasso.*
|
rm -f $DSTDIR/lasso.*
|
||||||
rm -f $DSTDIR/_lasso.*
|
rm -f $DSTDIR/_lasso.*
|
||||||
|
|
||||||
# Link
|
# Link
|
||||||
ln -sv $SRCDIR/lasso.py $DSTDIR
|
ln -sv /usr/lib/python3/dist-packages/lasso.py $DSTDIR/
|
||||||
ln -sv $SRCDIR/_lasso.* $DSTDIR
|
for SOFILE in /usr/lib/python3/dist-packages/_lasso.cpython-*.so
|
||||||
|
do
|
||||||
|
ln -sv $SOFILE $DSTDIR/
|
||||||
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue