summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/config.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-06-19 19:54:15 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-06-21 12:43:06 -0600
commit505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 (patch)
treeb1141ad866027a2e053f750c918fd4eb52a7fb21 /numpy/distutils/command/config.py
parentf6861923209df65d9c4253368061072eda67ea77 (diff)
downloadnumpy-505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51.tar.gz
MAINT: Mark deprecation warning with a date and Numpy version.
This is to make it easier to find and remove deprecated features. It would be a good idea if all deprecations were made with similar comments.
Diffstat (limited to 'numpy/distutils/command/config.py')
-rw-r--r--numpy/distutils/command/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py
index 4f104b222..ddccef2e8 100644
--- a/numpy/distutils/command/config.py
+++ b/numpy/distutils/command/config.py
@@ -37,6 +37,7 @@ class config(old_config):
def try_run(self, body, headers=None, include_dirs=None,
libraries=None, library_dirs=None, lang="c"):
+ # 2008-11-16, RemoveMe
warnings.warn("\n+++++++++++++++++++++++++++++++++++++++++++++++++\n" \
"Usage of try_run is deprecated: please do not \n" \
"use it anymore, and avoid configuration checks \n" \
@@ -435,6 +436,7 @@ int main (void)
built from 'body' and 'headers'. Returns the exit status code
of the program and its output.
"""
+ # 2008-11-16, RemoveMe
warnings.warn("\n+++++++++++++++++++++++++++++++++++++++++++++++++\n" \
"Usage of get_output is deprecated: please do not \n" \
"use it anymore, and avoid configuration checks \n" \