Added documenntation to the docs folder and edited the mac bash script in response to tests
This commit is contained in:
19
numpy-1.6.2/numpy/f2py/docs/usersguide/setup_example.py
Normal file
19
numpy-1.6.2/numpy/f2py/docs/usersguide/setup_example.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# File: setup_example.py
|
||||
|
||||
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 = "pearu@cens.ioc.ee",
|
||||
ext_modules = [ext1,ext2]
|
||||
)
|
||||
# End of setup_example.py
|
||||
Reference in New Issue
Block a user