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}
|
||||
|
||||
editedfiles=`$VCCMD status . | egrep -v '^\?'`
|
||||
#editedfiles=`$VCCMD status . | egrep -v '^\?'`
|
||||
if test "$checkmodified" = "yes" -a ! -z "$editedfiles"; then
|
||||
fatal "Edited files exist: " $editedfiles
|
||||
fi
|
||||
@ -45,6 +45,9 @@ yes | clean.O
|
||||
|
||||
$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
|
||||
(cd $targetdir ; \
|
||||
$TAR chf - $releasename | \
|
||||
|
||||
@ -13,7 +13,16 @@ try:
|
||||
hasrclconfig = True
|
||||
except:
|
||||
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:
|
||||
from recoll import recoll
|
||||
from recoll import rclextract
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user