hack the lens package to use a local rclconfig.py until the updated python package is released
This commit is contained in:
parent
2b2cfdc33e
commit
cfe2cfe56d
@ -21,7 +21,7 @@ targetdir=${targetdir-/tmp}
|
|||||||
|
|
||||||
checkmodified=${checkmodified-yes}
|
checkmodified=${checkmodified-yes}
|
||||||
|
|
||||||
editedfiles=`$VCCMD status . | egrep -v '^\?'`
|
#editedfiles=`$VCCMD status . | egrep -v '^\?'`
|
||||||
if test "$checkmodified" = "yes" -a ! -z "$editedfiles"; then
|
if test "$checkmodified" = "yes" -a ! -z "$editedfiles"; then
|
||||||
fatal "Edited files exist: " $editedfiles
|
fatal "Edited files exist: " $editedfiles
|
||||||
fi
|
fi
|
||||||
@ -45,6 +45,9 @@ yes | clean.O
|
|||||||
|
|
||||||
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
||||||
|
|
||||||
|
# Temporary, until the released recoll python module includes rclconfig.py
|
||||||
|
cp ../../python/recoll/recoll/rclconfig.py $topdir/recollscope
|
||||||
|
|
||||||
out=$releasename.tar.gz
|
out=$releasename.tar.gz
|
||||||
(cd $targetdir ; \
|
(cd $targetdir ; \
|
||||||
$TAR chf - $releasename | \
|
$TAR chf - $releasename | \
|
||||||
|
|||||||
@ -13,7 +13,16 @@ try:
|
|||||||
hasrclconfig = True
|
hasrclconfig = True
|
||||||
except:
|
except:
|
||||||
hasrclconfig = False
|
hasrclconfig = False
|
||||||
|
# As a temporary measure, we also look for rclconfig as a bare
|
||||||
|
# module. This is so that the intermediate releases of the lens can
|
||||||
|
# ship and use rclconfig.py with the lens code
|
||||||
|
if not hasrclconfig:
|
||||||
|
try:
|
||||||
|
import rclconfig
|
||||||
|
hasrclconfig = True
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from recoll import recoll
|
from recoll import recoll
|
||||||
from recoll import rclextract
|
from recoll import rclextract
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user