is_python_sufficient
checks whether a given python binary has all the
desired features (minimum and/or maximum version number and/or access to
certain modules).
is_python_sufficient(
path,
minimum_version = NULL,
maximum_version = NULL,
required_modules = NULL
)
TRUE
or FALSE
depending on whether the python binary met all requirements
The path to a given python binary. If binary is on system path just the binary name will work.
The minimum version of python it should be. Should be a string with major and minor number separated by a ‘.’. If left NULL won't impose such a restriction.
The maximum version of python it should be. Should be a string with major and minor number separated by a ‘.’. If left NULL won't impose such a restriction.
Which modules should be required. Can use a single "|" to represent a single either-or requirement like "json|simplejson". If left NULL won't impose such a restriction.