MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / _windows_lib_directory

Function _windows_lib_directory

setup.py:885–895  ·  view source on GitHub ↗
(mupdf_local, build_type)

Source from the content-addressed store, hash-verified

883
884
885def _windows_lib_directory(mupdf_local, build_type):
886 ret = f'{mupdf_local}/platform/win32/'
887 if _cpu_bits() == 64:
888 ret += 'x64/'
889 if build_type == 'release':
890 ret += 'Release/'
891 elif build_type == 'debug':
892 ret += 'Debug/'
893 else:
894 assert 0, f'Unrecognised {build_type=}.'
895 return ret
896
897
898def _cpu_bits():

Callers 1

buildFunction · 0.85

Calls 1

_cpu_bitsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…