summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Iversen <teh.ivo@gmail.com>2015-09-20 20:51:04 +1000
committerMatthew Iversen <teh.ivo@gmail.com>2015-09-20 20:51:04 +1000
commitfd3a853ee999a1c7474f20d1a11b56839b11925b (patch)
treea96ccb58982a4340d7c40858becb9af6539ac7b2
parent4185f08c6a3e2576c6eaf09edc1ccec938575d57 (diff)
downloadvirtualenv-fd3a853ee999a1c7474f20d1a11b56839b11925b.tar.gz
Add config flags in correct order
-rw-r--r--virtualenv_embedded/python-config5
1 files changed, 3 insertions, 2 deletions
diff --git a/virtualenv_embedded/python-config b/virtualenv_embedded/python-config
index ed0e43d..5e7a7c9 100644
--- a/virtualenv_embedded/python-config
+++ b/virtualenv_embedded/python-config
@@ -8,9 +8,10 @@ valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
'ldflags', 'help']
if sys.version_info >= (3, 2):
- valid_opts += ['extension-suffix', 'abiflags']
+ valid_opts.insert(-1, 'extension-suffix')
+ valid_opts.append('abiflags')
if sys.version_info >= (3, 3):
- valid_opts += ['configdir']
+ valid_opts.append('configdir')
def exit_with_usage(code=1):