buildout.cfg 1 KB
Newer Older
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 38 39 40
[buildout]
extends =
  ../git/buildout.cfg
  ../gzip/buildout.cfg
  ../scipy/buildout.cfg
  ../lxml-python/buildout.cfg
  ../matplotlib/buildout.cfg
  ../numpy/buildout.cfg
  ../patch/buildout.cfg
  ../pillow/buildout.cfg
  ../numpy/buildout.cfg

parts = ocropy

[ocropy-eng-traineddata]
recipe = hexagonit.recipe.download
filename = en-default.pyrnn.gz
md5sum = cedd140c7d7650e910f0550ad0f04727
download-only = true
url = http://www.tmbdev.net/en-default.pyrnn.gz

[ocropy-env]
OCROPY_MODEL_PATH = ${ocropy-eng-traineddata:location}/${ocropy-eng-traineddata:filename}
HOME = ${ocropy:egg}

[ocropy]
recipe = zc.recipe.egg:custom
egg = ocropy
setup-eggs =
  ${numpy:egg}
  ${scipy:egg}
  ${matplotlib:egg}
  ${pillow-python:egg}
patches =
  ${:_profile_base_location_}/ocropy.patch
patch-options = -p0
patch-binary = ${patch:location}/bin/patch
environment = ocropy-env
find-links = https://github.com/tmbdev/ocropy/tarball/4efbddca22bb2f0c639af0694e7a1386f2f097b5/ocropy-1.0.tar.gz
md5sum = 240b8866dd7248816e01af469a328c09