MCPcopy Create free account
hub / github.com/MITK/MITK / find_wheel

Function find_wheel

Wrapping/Python/wheel/test_wheel.py:134–140  ·  view source on GitHub ↗

Find the MITK wheel in the given directory.

(search_dir)

Source from the content-addressed store, hash-verified

132# ---------------------------------------------------------------------------
133
134def find_wheel(search_dir):
135 """Find the MITK wheel in the given directory."""
136 pattern = os.path.join(search_dir, "mitk_python-*.whl")
137 wheels = sorted(glob.glob(pattern))
138 if not wheels:
139 return None
140 return wheels[-1] # latest by name
141
142
143def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected