-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 656 Bytes
/
Copy pathMakefile
File metadata and controls
37 lines (26 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# Core tasks automated with make.
#
SHELL:=bash
build: venv tesseract
wheel: build
source venv/bin/activate && python setup.py --verbose bdist_wheel
distribute:
bash scripts/distribute.sh
leptonica:
sh scripts/leptonica/dep.sh
sh scripts/leptonica/build.sh
leptonica-clean:
rm -rf tesseract_python/leptonica
tesseract: leptonica
sh scripts/tesseract/dep.sh
sh scripts/tesseract/build.sh
tesseract-clean:
rm -rf tesseract_python/tesseract
venv:
virtualenv venv
source venv/bin/activate && pip install -r requirements.txt
venv-clean:
rm -rf venv
clean: tesseract-clean leptonica-clean
rm -rf build dist tesseract_python.egg-info tmp