tmp
/
pip-install-ghxuqwgs
/numpy_78e94bf2b6094bf9a1f3d92042f9bf46
/doc
/source
/f2py
/setup_example.py
from __future__ import division, absolute_import, print_function | |
from numpy.distutils.core import Extension | |
ext1 = Extension(name = 'scalar', | |
sources = ['scalar.f']) | |
ext2 = Extension(name = 'fib2', | |
sources = ['fib2.pyf', 'fib1.f']) | |
if __name__ == "__main__": | |
from numpy.distutils.core import setup | |
setup(name = 'f2py_example', | |
description = "F2PY Users Guide examples", | |
author = "Pearu Peterson", | |
author_email = "[email protected]", | |
ext_modules = [ext1, ext2] | |
) | |
# End of setup_example.py | |