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