From 23eb714038cc2ccf2ade33355ad6e2fb2ef92c49 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 20 Oct 2014 15:48:01 +0200 Subject: [PATCH] Document MITSUBA_PYVER --- doc/python.tex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/python.tex b/doc/python.tex index db4ac8f3..0912050a 100644 --- a/doc/python.tex +++ b/doc/python.tex @@ -11,11 +11,18 @@ Menu}$\to$\emph{Command-line access}'' menu item from within Mitsuba. If you compiled Mitsuba yourself, then an alternative way of setting the appropriate environment variables without making changes to the system is by sourcing the \code{setpath.sh} script located in the main Mitsuba directory. +It is possible to specify the desired Python plugin version using the \texttt{MITSUBA\_PYVER} +environment variable, e.g. +\begin{python} +export MITSUBA_PYVER=3.3 +source $\langle$Mitsuba directory$\rangle$/setpath.sh +\end{python} \paragraph{Linux:} If you installed one of the official Mitsuba packages for your distribution, then everything should work out of the box. If you compiled Mitsuba yourself, you will need to source the \code{setpath.sh} script located in the main Mitsuba directory before starting Python. +See the Mac OS example above with regards to requesting a specific version of the Python plugin. \paragraph{Windows} On Windows it is necessary to explicitly specify the required extension search path within Python