summaryrefslogtreecommitdiff
path: root/doc/pyrex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pyrex')
-rwxr-xr-xdoc/pyrex/run_test.py2
-rw-r--r--doc/pyrex/setup.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/pyrex/run_test.py b/doc/pyrex/run_test.py
index 96388011e..64918ed9c 100755
--- a/doc/pyrex/run_test.py
+++ b/doc/pyrex/run_test.py
@@ -1,3 +1,5 @@
#!/usr/bin/env python
+from __future__ import division
+
from numpyx import test
test()
diff --git a/doc/pyrex/setup.py b/doc/pyrex/setup.py
index 7f7cf0fc1..648bad9f4 100644
--- a/doc/pyrex/setup.py
+++ b/doc/pyrex/setup.py
@@ -10,7 +10,9 @@ Install file for example on how to use Pyrex with Numpy.
For more details, see:
http://www.scipy.org/Cookbook/Pyrex_and_NumPy
http://www.scipy.org/Cookbook/ArrayStruct_and_Pyrex
+
"""
+from __future__ import division
from distutils.core import setup
from distutils.extension import Extension