summaryrefslogtreecommitdiff
path: root/numpy/distutils
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils')
-rw-r--r--numpy/distutils/command/config.py2
-rw-r--r--numpy/distutils/exec_command.py1
2 files changed, 3 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" \
diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py
index baf81f337..d210bc27b 100644
--- a/numpy/distutils/exec_command.py
+++ b/numpy/distutils/exec_command.py
@@ -74,6 +74,7 @@ def get_pythonexe():
def splitcmdline(line):
import warnings
+ # 2007-12-26 RemoveMe
warnings.warn('splitcmdline is deprecated; use shlex.split',
DeprecationWarning)
return shlex.split(line)