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

Function clean

setup.py:1224–1240  ·  view source on GitHub ↗
(all_)

Source from the content-addressed store, hash-verified

1222
1223
1224def clean(all_):
1225 pipcl.log(f'{all_=}')
1226 ret = list()
1227 ret.append(f'{g_root}/src/build')
1228
1229 path_mupdf, _ = get_mupdf()
1230 ret.append(f'{path_mupdf}/platform/c++')
1231 ret.append(f'{path_mupdf}/platform/python')
1232 if all_:
1233 # Clean mupdf C library.
1234 ret.append(f'{path_mupdf}/build')
1235 ret.append(f'{path_mupdf}/platform/win32')
1236 ret.append(f'{path_mupdf}/platform/win32/Release')
1237 ret.append(f'{path_mupdf}/platform/win32/x64')
1238
1239 pipcl.log(f'Returning: {ret=}')
1240 return ret
1241
1242
1243def sdist():

Callers

nothing calls this directly

Calls 3

get_mupdfFunction · 0.85
logMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…