Skip to content

Commit f2fbee4

Browse files
authored
Merge branch 'master' into master
2 parents 5be2eef + 2826da1 commit f2fbee4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ install:
4040
- "$PIP install cibuildwheel==0.10.0"
4141
- mkdir mupdf && wget -q $MUPDF -O - | tar zx -C mupdf --strip-components=1
4242
- cp fitz/_mupdf_config.h mupdf/include/mupdf/fitz/config.h
43-
- cp fitz/_pdf-device.c mupdf/source/pdf/pdf-device.c
44-
- cp fitz/_error.c mupdf/source/fitz/error.c
4543
script:
4644
- export CIBW_SKIP="cp33-* *i686"
4745
- export CIBW_TEST_COMMAND="python -c 'import fitz'"

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
module = Extension('fitz._fitz', # name of the module
2323
['fitz/fitz_wrap.c'], # C source file
2424
# this are directories containing mupdf's and zlib's header files
25-
include_dirs=['/usr/local/include/mupdf', '/usr/local/include'],
25+
include_dirs=['/usr/local/include/mupdf',
26+
'/usr/local/include',
27+
'/usr/local/thirdparty/zlib'],
2628
library_dirs=['/usr/local/lib'],
2729
libraries=['mupdf', 'mupdf-third']
2830
)

0 commit comments

Comments
 (0)