# written by SLJ 2002-8-28 # took model from http://www.python.org/doc/current/ext/building-on-unix.html # To use it on my Windows XP (with mingw gcc compiler): # python setup.py build --compiler=mingw32 # It uses the library libEuler.a from distutils.core import setup, Extension module1 = Extension('fEuler', libraries = ['Euler'], library_dirs = ['./'], sources = ['fEuler.c']) setup (name = 'fEuler', version = '1.0', description = 'This a Euler solver implemented in Fortran', author = 'Simon Lacoste-Julien', author_email = 'simonlacoste@videotron.ca', url = 'http://moncs.cs.mcgill.ca/MSDL/people/slacoste/', long_description = ''' This is really a Euler solver implemented in Fortran! ''', ext_modules = [module1])