remove getlasso.sh (#69991)
This commit is contained in:
parent
d84e49a329
commit
ef70a4f54f
|
@ -52,7 +52,6 @@ recursive-include src/authentic2 README
|
|||
include doc/*.rst
|
||||
include doc/pictures/*
|
||||
include COPYING NEWS README AUTHORS.txt
|
||||
include getlasso.sh
|
||||
include getlasso3.sh
|
||||
include src/authentic2/nonce/README.rst
|
||||
include doc/conf.py doc/Makefile
|
||||
|
|
20
getlasso.sh
20
getlasso.sh
|
@ -1,20 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Get venv site-packages path
|
||||
DSTDIR=`python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'`
|
||||
|
||||
# Get not venv site-packages path
|
||||
# Remove first path (assuming that is the venv path)
|
||||
NONPATH=`echo $PATH | sed 's/^[^:]*://'`
|
||||
SRCDIR=`PATH=$NONPATH python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'`
|
||||
|
||||
# Clean up
|
||||
rm -f $DSTDIR/lasso.*
|
||||
rm -f $DSTDIR/_lasso.*
|
||||
|
||||
# Link
|
||||
ln -sv $SRCDIR/lasso.py $DSTDIR
|
||||
ln -sv $SRCDIR/_lasso.* $DSTDIR
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue