bundled chm: install as normal python package instead of copying the egg to the recoll lib dir

This commit is contained in:
Jean-Francois Dockes 2018-06-12 19:41:22 +02:00
parent 9bb50ccdd5
commit d8cce8e234

View File

@ -551,16 +551,16 @@ endif
rclpychm: rclpychm:
(cd python/pychm || exit 1; \ (cd python/pychm || exit 1; \
set -x; \ set -x; \
for v in 2 3;do rm -f dist/pychm-*; \ for v in 2 3;do \
test -n "`which python$${v}`" && python$${v} setup.py bdist_egg && \ test -n "`which python$${v}`" && python$${v} setup.py build;\
mv -f dist/pychm-*.egg dist/pychm$${v}.egg;\
done \ done \
) )
rclpychm-install: rclpychm-install:
(cd python/pychm || exit 1; \ (cd python/pychm || exit 1; \
set -x; \ set -x; \
mkdir -p ${librcldir}; \ for v in 2 3;do rm -f dist/pychm-*; \
mv dist/pychm*.egg ${librcldir};\ test -n "`which python$${v}`" && python$${v} setup.py install;\
done \
) )
rclpychm-clean: rclpychm-clean:
rm -rf python/pychm/build rm -rf python/pychm/build