Try moving leptonica build script, playing with wheels a bit

This commit is contained in:
James R. Barlow
2016-02-16 04:05:58 -08:00
parent 3946bba318
commit ec2c6c312b
3 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -25,6 +25,7 @@ before_install:
# pip
- pip install --upgrade pip
- pip install --upgrade wheel
# Download, make and install unpaper (using ccache)
- mkdir -p tarballs
@@ -33,14 +34,17 @@ before_install:
- export PATH="/usr/lib/ccache:$PATH"
- pushd unpaper-6.1 && ./configure --prefix=/usr && make -j && sudo make install && popd
- pip wheel -r requirements.txt -w $HOME/.cache/pip
install:
- pip install -r requirements.txt
- pip install -r test_requirements.txt
script:
- python setup.py clean
- python setup.py build
- python setup.py install
- cat ./lib/_leptonica.py
- cat /home/travis/build/jbarlow83/OCRmyPDF/lib/_leptonica.py
- py.test -s tests/test_main.py::test_deskew
os:
+1 -1
View File
@@ -213,7 +213,7 @@ setup(
],
use_scm_version={'version_scheme': 'post-release'},
cffi_modules=[
'ocrmypdf/lib/compile_leptonica.py:ffi'
'ocrmypdf/compile_leptonica.py:ffi'
],
install_requires=[
'ruffus>=2.6.3',