(path)
| 307 | |
| 308 | |
| 309 | def is_module(path): |
| 310 | if not os.path.isdir(path): |
| 311 | return False |
| 312 | must_exist = ["register_types.h", "SCsub", "config.py"] |
| 313 | for f in must_exist: |
| 314 | if not os.path.exists(os.path.join(path, f)): |
| 315 | return False |
| 316 | return True |
| 317 | |
| 318 | |
| 319 | def convert_custom_modules_path(path): |
no test coverage detected