summaryrefslogtreecommitdiff
path: root/doc/source/f2py/setup_example.py
diff options
context:
space:
mode:
authorRohit Goswami <rog32@hi.is>2021-09-19 17:01:16 +0000
committerRohit Goswami <rog32@hi.is>2021-09-19 17:52:00 +0000
commit156c005422b020b6fdcd27fc39211708f84f91cb (patch)
treea07055cb48d9d70f70f388f7e539c3192e4abde3 /doc/source/f2py/setup_example.py
parent80c28d12a4500e12b194d62107c61d37703c0f93 (diff)
downloadnumpy-156c005422b020b6fdcd27fc39211708f84f91cb.tar.gz
MAINT,DOC: Refactor, syntax highlighting for f2py
Diffstat (limited to 'doc/source/f2py/setup_example.py')
-rw-r--r--doc/source/f2py/setup_example.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/source/f2py/setup_example.py b/doc/source/f2py/setup_example.py
deleted file mode 100644
index 479acc004..000000000
--- a/doc/source/f2py/setup_example.py
+++ /dev/null
@@ -1,16 +0,0 @@
-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