summaryrefslogtreecommitdiff
path: root/numpy/doc/pyrex
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/pyrex')
-rw-r--r--numpy/doc/pyrex/README.txt3
-rw-r--r--numpy/doc/pyrex/numpyx.pyx4
-rw-r--r--numpy/doc/pyrex/setup.py8
3 files changed, 14 insertions, 1 deletions
diff --git a/numpy/doc/pyrex/README.txt b/numpy/doc/pyrex/README.txt
new file mode 100644
index 000000000..9df1e6c8e
--- /dev/null
+++ b/numpy/doc/pyrex/README.txt
@@ -0,0 +1,3 @@
+WARNING: this code is deprecated and slated for removal soon. See the
+doc/cython directory for the replacement, which uses Cython (the actively
+maintained version of Pyrex).
diff --git a/numpy/doc/pyrex/numpyx.pyx b/numpy/doc/pyrex/numpyx.pyx
index 8089fbc38..068d251f6 100644
--- a/numpy/doc/pyrex/numpyx.pyx
+++ b/numpy/doc/pyrex/numpyx.pyx
@@ -1,4 +1,8 @@
# -*- Mode: Python -*- Not really, but close enough
+"""WARNING: this code is deprecated and slated for removal soon. See the
+doc/cython directory for the replacement, which uses Cython (the actively
+maintained version of Pyrex).
+"""
cimport c_python
cimport c_numpy
diff --git a/numpy/doc/pyrex/setup.py b/numpy/doc/pyrex/setup.py
index 79fa363fa..7f7cf0fc1 100644
--- a/numpy/doc/pyrex/setup.py
+++ b/numpy/doc/pyrex/setup.py
@@ -1,5 +1,11 @@
#!/usr/bin/env python
-"""Install file for example on how to use Pyrex with Numpy.
+"""
+WARNING: this code is deprecated and slated for removal soon. See the
+doc/cython directory for the replacement, which uses Cython (the actively
+maintained version of Pyrex).
+
+
+Install file for example on how to use Pyrex with Numpy.
For more details, see:
http://www.scipy.org/Cookbook/Pyrex_and_NumPy