Displaying 2 results from an estimated 2 matches for "virt_v2v_python_interpret".
Did you mean:
virt_v2v_python_interpreter
2019 Jan 08
2
[PATCH] v2v: -o rhv-upload: Allow configure commands to set the Python version.
...efined by PEP 394.
+AC_MSG_CHECKING([for the python interpreter used by virt-v2v])
+AC_ARG_WITH([virt-v2v-python-interpreter],
+ [AS_HELP_STRING([--with-virt-v2v-python-interpreter="python3|..."],
+ [set Python interpreter used by virt-v2v @<:@default=python3@:>@])],
+ [VIRT_V2V_PYTHON_INTERPRETER="$withval"],
+ [VIRT_V2V_PYTHON_INTERPRETER=python3])
+AC_MSG_RESULT([$VIRT_V2V_PYTHON_INTERPRETER])
+AC_SUBST([VIRT_V2V_PYTHON_INTERPRETER])
+
+AC_MSG_CHECKING([for the nbdkit python plugin name])
+AC_ARG_WITH([virt-v2v-nbdkit-python-plugin],
+ [AS_HELP_STRING([--with-virt-v2v-nb...
2019 Jan 11
0
Re: [PATCH] v2v: -o rhv-upload: Allow configure commands to set the Python version.
...oes allow downstream distributions to
> adjust the Python interpreter and nbdkit Python plugin used by
> virt-v2v -o rhv-upload mode:
>
> ./configure --with-virt-v2v-python-interpreter=...
What is the use case for this? The documentation for the variable in
config.mli says:
> +val virt_v2v_python_interpreter : string
> +(** Return the name of the Python interpreter used to run scripts by
> + [virt-v2v -o rhv-upload].
> +
> + This must normally be a Python 3 interpreter. However some
> + downstream distributions replace the Python 3 scripts with Python
> + 2 scripts and...