summaryrefslogtreecommitdiff
path: root/numpy/distutils/interactive.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-04-20 17:01:01 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-04-20 17:01:01 +0000
commit0f8a871123131fd114376673789b0d751c7a172d (patch)
tree39cf2d936d7e845aa998f2bfc1ca64eac08db652 /numpy/distutils/interactive.py
parentd2f1e960dfd2dee2e9063f94cafc6e89e4bf5b3c (diff)
downloadnumpy-0f8a871123131fd114376673789b0d751c7a172d.tar.gz
Fixed the order of setup commands.
Diffstat (limited to 'numpy/distutils/interactive.py')
-rw-r--r--numpy/distutils/interactive.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/distutils/interactive.py b/numpy/distutils/interactive.py
index 98e779ef3..3ad3ef776 100644
--- a/numpy/distutils/interactive.py
+++ b/numpy/distutils/interactive.py
@@ -146,9 +146,11 @@ def interactive_sys_argv(argv):
cmd_opts['build_ext'].append('--inplace')
cmd_opts['build_src'].append('--inplace')
conf = []
- for k,opts in cmd_opts.items():
- if opts:
- conf.extend([k]+opts)
+ sorted_keys = ['config','config_fc','build_src',
+ 'build_clib','build_ext']
+ for k in sorted_keys:
+ opts = cmd_opts[k]
+ if opts: conf.extend([k]+opts)
if task=='0':
if 'config' not in conf:
conf.append('config')