I have written a setup.py to compile my Python library writtent mainly in Fortran 77/90. I use Extension (and ext_modules
setup.py
Fortran 77/90
Extension
ext_modules