You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
514 B
Python

import os
def compile_all():
# Install gfortran and run the following to build the module:
#compile_format = 'f2py %s %s -c --fcompiler=gnu95 --compiler=mingw32 -lmsvcr71'
# Install microsoft visual c++ .NET 2003 and run the following to build the module:
compile_format = 'f2py %s %s -c'
pyfs = ('rfc.pyf','diffsumfunq.pyf')
files =('findrfc.c','disufq1.c')
for pyf,file in zip(pyfs,files):
os.system(compile_format % (pyf,file))
if __name__=='__main__':
compile_all()