🧹 Remove unused vendor/sbb_tetline_detector tar (Fixes GH-3)

pull/27/head
Gerber, Mike 5 years ago
parent 0889d1a5e3
commit 041cee707e

@ -71,8 +71,6 @@ COPY data/tesseract-models/GT4HistOCR/GT4HistOCR_2000000.traineddata $TESSDATA_P
RUN tesseract --list-langs RUN tesseract --list-langs
# Copy over sbb_textline_detector
COPY vendor vendor
COPY data/textline_detection /var/lib/textline_detection COPY data/textline_detection /var/lib/textline_detection

Binary file not shown.

@ -1,20 +0,0 @@
#!/bin/bash
set -e
vendor_dir=`dirname $0`
vendor_dir=`python -c "import os, sys; print os.path.abspath(sys.argv[1])" $vendor_dir`
# Delete old tarballs
rm -f $vendor_dir/sbb_textline_detector-*.tar
# Create new tarball
pushd .
cd ~/devel/qurator-mono-repo
commit=`git rev-parse --short master`
tarball=sbb_textline_detector-$commit.tar
tar cf $vendor_dir/$tarball sbb_textline_detector
popd
# Update requirements.txt
workdir=$vendor_dir/..
sed -i "s#vendor/sbb_textline_detector-.*.tar#vendor/$tarball#" $workdir/requirements.txt
Loading…
Cancel
Save