We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dcc4e2 commit b490b66Copy full SHA for b490b66
setup.py
@@ -553,7 +553,9 @@ def build():
553
# Download MuPDF.
554
#
555
mupdf_local, mupdf_location = get_mupdf()
556
- mupdf_version_tuple = get_mupdf_version(mupdf_local)
+ if mupdf_local:
557
+ mupdf_version_tuple = get_mupdf_version(mupdf_local)
558
+ # else we cannot determine version this way and do not use it
559
560
build_type = os.environ.get( 'PYMUPDF_SETUP_MUPDF_BUILD_TYPE', 'release')
561
assert build_type in ('debug', 'memento', 'release'), \
0 commit comments