Remove leptonica and cffi

This commit is contained in:
James R. Barlow
2021-11-13 00:06:35 -08:00
parent 036afc4d88
commit 5abfb14c2a
18 changed files with 13 additions and 1675 deletions
-2
View File
@@ -10,10 +10,8 @@ from setuptools import setup
# Minimal setup to support older setuptools/setuptools_scm
setup(
setup_requires=[ # can be removed whenever we can drop pip 9 support
'cffi >= 1.9.1', # to build the leptonica module
'setuptools_scm', # so that version will work
'setuptools_scm_git_archive', # enable version from github tarballs
],
use_scm_version={'version_scheme': 'post-release'},
cffi_modules=['src/ocrmypdf/lib/compile_leptonica.py:ffibuilder'],
)