setup.py: cffi is definitely needed in setup_requires

This commit is contained in:
James R. Barlow
2017-01-27 13:43:47 -08:00
parent ab490a7736
commit 49ab0c1f0b
+3 -2
View File
@@ -214,7 +214,8 @@ setup(
"Topic :: Text Processing :: Linguistic",
],
setup_requires=[
'setuptools_scm',
'setuptools_scm', # so that version will work
'cffi>=1.9.1' # to build the leptonica module
],
use_scm_version={'version_scheme': 'post-release'},
cffi_modules=[
@@ -226,7 +227,7 @@ setup(
'reportlab>=3.2.0', # oldest released version with sane image handling
'PyPDF2>=1.26', # pure Python, so track HEAD closely
'img2pdf>=0.2.3', # pure Python, so track HEAD closely
'cffi>=1.9.1'
'cffi>=1.9.1' # must be a setup and install requirement
],
tests_require=tests_require,
entry_points={