File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,9 @@ def run(command, env_extra=None):
240240 command += f' HAVE_LEPTONICA=yes'
241241 command += f' HAVE_TESSERACT=yes'
242242 command += f' USE_SYSTEM_LIBS=yes'
243+ # We need latest zxingcpp so system version not ok.
244+ command += f' USE_SYSTEM_ZXINGCPP=no'
245+ command += f' barcode=yes'
243246 command += f' VENV_FLAG={ "--venv" if pip == "venv" else "" } '
244247 if mupdf_so_mode :
245248 command += f' SO_INSTALL_MODE={ mupdf_so_mode } '
@@ -291,7 +294,7 @@ def run(command):
291294 run (f'{ sudo } rm -r { p } /site-packages/pymupdf.py || true' )
292295 run (f'{ sudo } rm -r { p } /site-packages/fitz || true' )
293296 run (f'{ sudo } rm -r { p } /site-packages/fitz.py || true' )
294- run (f'{ sudo } rm -r { p } /site-packages/PyMuPDF -*.dist-info || true' )
297+ run (f'{ sudo } rm -r { p } /site-packages/pymupdf -*.dist-info || true' )
295298 run (f'{ sudo } rm -r { root_prefix } /bin/pymupdf || true' )
296299 if pip == 'venv' :
297300 run (f'{ sudo } { venv_name } /bin/python -m installer --destdir { root } --prefix { prefix } { wheel } ' )
You can’t perform that action at this time.
0 commit comments