# Edit this file to change the defaults if desired. # For Windows, may need to fix location of Visual Studio. # A. Default compiler import sys, os default_compiler = 'g77' if sys.platform[0:5] == 'linux': PGI = os.environ.get('PGI', None) if PGI: default_compiler = 'pgf77' elif sys.platform == "sunos5": default_compiler = 'solaris' elif sys.platform == "win32": default_compiler = 'vf' vfroot = r'C:\Program Files\Microsoft Visual Studio\DF98' elif sys.platform[0:4] == "osf1": default_compiler = 'f77_OSF1' elif sys.platform[0:4] == 'irix': default_compiler = 'sgi' elif sys.platform[0:6] == 'darwin': default_compiler = 'fort77' elif sys.platform[0:7] == 'freebsd': default_compiler = 'f77' # B. Set the suffix used for project directories # This is added to the project name to produce the container directory # for the modules in the project. It is added to the Python path with a # .pth file of the same name. project_suffix = "_dir" # C. Set the directory where Pyfort itself was installed if not the default. # You may wish to set project_suffix='' in this case; see README. prefix=''