(fortran_filename, output_dir)
| 261 | pass |
| 262 | |
| 263 | def runF2C(fortran_filename, output_dir): |
| 264 | fortran_filename = fortran_filename.replace('\\', '/') |
| 265 | try: |
| 266 | subprocess.check_call( |
| 267 | ["f2c"] + F2C_ARGS + ['-d', output_dir, fortran_filename] |
| 268 | ) |
| 269 | except subprocess.CalledProcessError: |
| 270 | raise F2CError |
| 271 | |
| 272 | def scrubF2CSource(c_file): |
| 273 | with open(c_file) as fo: |