Find the MITK wheel in the given directory.
(search_dir)
| 132 | # --------------------------------------------------------------------------- |
| 133 | |
| 134 | def 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 | |
| 143 | def main(): |