/**
  * Get the installation from its name.
  *
  * @param name The name of the installation
  * @return The installation if found, else null
  */
 public static PythonInstallation fromName(String name) {
   // Go threw the installations
   for (PythonInstallation installation : list()) {
     // Check if the name match the current installation name
     if (name != null && name.equals(installation.getName()))
       // If yes, we found it
       return installation;
   }
   // No installation matching the provided name
   return null;
 }
 public void testConfigure() throws Exception {
   assertTrue(PythonInstallation.isEmpty());
   PythonInstallationFinder.configure();
   assertFalse(PythonInstallation.isEmpty());
 }