diff options
author | Pauli Virtanen <pav@iki.fi> | 2014-01-02 23:27:42 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2014-01-02 23:27:42 +0200 |
commit | 6c7af638e760d3229f460cb7475548ef2a3a7ca9 (patch) | |
tree | 794e407a2926a5a159b0d362c7e09b34db69a4e0 /doc/source/f2py/setup_example.py | |
parent | 31f50a81974319a470cd6e913ef914f3e54f2390 (diff) | |
download | numpy-6c7af638e760d3229f460cb7475548ef2a3a7ca9.tar.gz |
DOC: f2py: update numpy.distutils part a bit
Diffstat (limited to 'doc/source/f2py/setup_example.py')
-rw-r--r-- | doc/source/f2py/setup_example.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/source/f2py/setup_example.py b/doc/source/f2py/setup_example.py index ab451084b..54af77299 100644 --- a/doc/source/f2py/setup_example.py +++ b/doc/source/f2py/setup_example.py @@ -1,9 +1,6 @@ -#!/usr/bin/env python from __future__ import division, absolute_import, print_function -# File: setup_example.py - -from numpy_distutils.core import Extension +from numpy.distutils.core import Extension ext1 = Extension(name = 'scalar', sources = ['scalar.f']) @@ -11,7 +8,7 @@ ext2 = Extension(name = 'fib2', sources = ['fib2.pyf', 'fib1.f']) if __name__ == "__main__": - from numpy_distutils.core import setup + from numpy.distutils.core import setup setup(name = 'f2py_example', description = "F2PY Users Guide examples", author = "Pearu Peterson", |