aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-09-22 08:35:53 -0400
committerJack Lloyd <[email protected]>2015-09-22 08:35:53 -0400
commitc461c8e0115738d770f2c1cdee8dfaa28bf8239c (patch)
treea43a110217e14c6a9024d258832ba745334df722
parentbde0f20542dff845bd04215cfc6881383ddbc1b0 (diff)
Pluralize --with-python-version option, remove it from single-option group
-rwxr-xr-xconfigure.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/configure.py b/configure.py
index 68ecf3a7a..44087b28b 100755
--- a/configure.py
+++ b/configure.py
@@ -339,12 +339,10 @@ def process_command_line(args):
action='store_false', default=True,
help=optparse.SUPPRESS_HELP)
- wrapper_group = optparse.OptionGroup(parser, 'Python FFI options')
-
- wrapper_group.add_option('--with-python-version', dest='python_version',
- metavar='N.M',
- default='.'.join(map(str, sys.version_info[0:2])),
- help='set Python version (def %default)')
+ build_group.add_option('--with-python-versions', dest='python_version',
+ metavar='N.M',
+ default='.'.join(map(str, sys.version_info[0:2])),
+ help='where to install botan.py (def %default)')
mods_group = optparse.OptionGroup(parser, 'Module selection')
@@ -400,7 +398,6 @@ def process_command_line(args):
parser.add_option_group(target_group)
parser.add_option_group(build_group)
parser.add_option_group(mods_group)
- parser.add_option_group(wrapper_group)
parser.add_option_group(install_group)
# These exist only for autoconf compatibility (requested by zw for mtn)