(pyf_files, modulename='untitled')
| 735 | |
| 736 | |
| 737 | def validate_modulename(pyf_files, modulename='untitled'): |
| 738 | if len(pyf_files) > 1: |
| 739 | raise ValueError("Only one .pyf file per call") |
| 740 | if pyf_files: |
| 741 | pyff = pyf_files[0] |
| 742 | pyf_modname = auxfuncs.get_f2py_modulename(pyff) |
| 743 | if modulename != pyf_modname: |
| 744 | outmess( |
| 745 | f"Ignoring -m {modulename}.\n" |
| 746 | f"{pyff} defines {pyf_modname} to be the modulename.\n" |
| 747 | ) |
| 748 | modulename = pyf_modname |
| 749 | return modulename |
| 750 | |
| 751 | def main(): |
| 752 | if '-c' in sys.argv[1:]: |
no test coverage detected
searching dependent graphs…